Skip to content

Commit

Permalink
fix typos (#1843)
Browse files Browse the repository at this point in the history
  • Loading branch information
bostick committed Jan 11, 2023
1 parent 27c26a7 commit d31f238
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/ZeroTierOne.h
Expand Up @@ -384,7 +384,7 @@ enum ZT_ResultCode
*/
ZT_RESULT_OK_IGNORED = 1,

// Fatal errors (>100, <1000)
// Fatal errors (>=100, <1000)

/**
* Ran out of memory
Expand Down
3 changes: 1 addition & 2 deletions java/jni/ZT_jniutils.cpp
Expand Up @@ -43,7 +43,7 @@ jobject createResultObject(JNIEnv *env, ZT_ResultCode code)
resultClass = lookup.findClass("com/zerotier/sdk/ResultCode");
if(resultClass == NULL)
{
LOGE("Couldnt find ResultCode class");
LOGE("Couldn't find ResultCode class");
return NULL; // exception thrown
}

Expand Down Expand Up @@ -1032,4 +1032,3 @@ jobject newVirtualNetworkDNS(JNIEnv *env, const ZT_VirtualNetworkDNS &dns)
#ifdef __cplusplus
}
#endif

2 changes: 1 addition & 1 deletion java/src/com/zerotier/sdk/ResultCode.java
Expand Up @@ -41,7 +41,7 @@ public enum ResultCode {
*/
RESULT_OK(0),

// Fatal errors (> 0, < 1000)
// Fatal errors (>=100, <1000)
/**
* Ran out of memory
*/
Expand Down
2 changes: 1 addition & 1 deletion node/MAC.hpp
Expand Up @@ -149,7 +149,7 @@ class MAC
/**
* Get the ZeroTier address for this MAC on this network (assuming no bridging of course, basic unicast)
*
* This just XORs the next-lest-significant 5 bytes of the network ID again to unmask.
* This just XORs the next-least-significant 5 bytes of the network ID again to unmask.
*
* @param nwid Network ID
*/
Expand Down

0 comments on commit d31f238

Please sign in to comment.