From 5b5f9a069aec62e26d06afbc0c41d50c42b99716 Mon Sep 17 00:00:00 2001 From: Brenton Bostick Date: Thu, 1 Dec 2022 09:24:33 -0500 Subject: [PATCH] fix typos --- RELEASE-NOTES.md | 2 +- include/ZeroTierOne.h | 4 ++-- java/README.md | 2 +- node/Path.hpp | 2 +- selftest.cpp | 2 +- service/OneService.cpp | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index f57e9820..a925a3a0 100644 --- a/RELEASE-NOTES.md +++ b/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). diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index b8b23825..23f97b38 100644 --- a/include/ZeroTierOne.h +++ b/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 */ diff --git a/java/README.md b/java/README.md index 2650ec3d..979101c5 100644 --- a/java/README.md +++ b/java/README.md @@ -5,7 +5,7 @@ ZeroTier One SDK - Android JNI Wrapper Building ----- -Reqires: +Requires: * JDK * ANT diff --git a/node/Path.hpp b/node/Path.hpp index 11a3e511..8304f27d 100644 --- a/node/Path.hpp +++ b/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) ); } diff --git a/selftest.cpp b/selftest.cpp index f43cee1a..cc161777 100644 --- a/selftest.cpp +++ b/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; } diff --git a/service/OneService.cpp b/service/OneService.cpp index 4cebe9fd..5984b8b8 100644 --- a/service/OneService.cpp +++ b/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('?');