2
0
Эх сурвалжийг харах

Merge pull request #1807 from zerotier/cleanup/typos

fix typos
Grant Limberg 2 жил өмнө
parent
commit
065f42af1d

+ 1 - 1
RELEASE-NOTES.md

@@ -32,7 +32,7 @@ Note that releases are coming few and far between because most of our dev effort
 
 # 2022-04-25 -- Version 1.8.9
 
- * Fixed a long-standing and strange bug that was causing sporadic "phantom" packet authentication failures. Not a security problem but could be behind spordaic reports of link failures under some conditions.
+ * Fixed a long-standing and strange bug that was causing sporadic "phantom" packet authentication failures. Not a security problem but could be behind sporadic reports of link failures under some conditions.
  * Fized a memory leak in SSO/OIDC support.
  * Fixed SSO/OIDC display error on CLI.
  * Fixed a bug causing nodes to sometimes fail to push certs to each other (primarily affects SSO/OIDC use cases).

+ 2 - 2
include/ZeroTierOne.h

@@ -1208,7 +1208,7 @@ typedef struct
 	bool ssoEnabled;
 
 	/**
-	 * SSO verison
+	 * SSO version
 	 */
 	uint64_t ssoVersion;
 
@@ -2066,7 +2066,7 @@ ZT_SDK_API int ZT_Node_sendUserMessage(ZT_Node *node,void *tptr,uint64_t dest,ui
  * NetworkConfigMaster base class in node/. No type checking is performed,
  * so a pointer to anything else will result in a crash.
  *
- * @param node ZertTier One node
+ * @param node ZeroTier One node
  * @param networkConfigMasterInstance Instance of NetworkConfigMaster C++ class or NULL to disable
  * @return OK (0) or error code if a fatal error condition has occurred
  */

+ 1 - 1
java/README.md

@@ -5,7 +5,7 @@ ZeroTier One SDK - Android JNI Wrapper
 Building
 -----
 
-Reqires:
+Requires:
 
 * JDK
 * ANT

+ 1 - 1
node/Path.hpp

@@ -194,7 +194,7 @@ public:
 	 */
 	inline unsigned int preferenceRank() const
 	{
-		// This causes us to rank paths in order of IP scope rank (see InetAdddress.hpp) but
+		// This causes us to rank paths in order of IP scope rank (see InetAddress.hpp) but
 		// within each IP scope class to prefer IPv6 over IPv4.
 		return ( ((unsigned int)_ipScope << 1) | (unsigned int)(_addr.ss_family == AF_INET6) );
 	}

+ 1 - 1
selftest.cpp

@@ -667,7 +667,7 @@ static int testPacket()
 
 	std::cout << "(compressed: " << complen << ", decompressed: " << a.size() << ") ";
 	if (a != b) {
-		std::cout << "FAIL (compresssion)" << std::endl;
+		std::cout << "FAIL (compression)" << std::endl;
 		return -1;
 	}
 

+ 1 - 1
service/OneService.cpp

@@ -1401,7 +1401,7 @@ public:
 
 		/* Note: this is kind of restricted in what it'll take. It does not support
 		 * URL encoding, and /'s in URL args will screw it up. But the only URL args
-		 * it really uses in ?jsonp=funcionName, and otherwise it just takes simple
+		 * it really uses in ?jsonp=functionName, and otherwise it just takes simple
 		 * paths to simply-named resources. */
 		if (!ps.empty()) {
 			std::size_t qpos = ps[ps.size() - 1].find('?');