]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
global: fix up spelling
authorJosh Soref <jsoref@gmail.com>
Tue, 10 Dec 2019 16:22:58 +0000 (17:22 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 12 Dec 2019 11:24:05 +0000 (12:24 +0100)
Signed-off-by: Josh Soref <jsoref@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
contrib/nat-hole-punching/README
src/wg-quick/android.c

index 46e6201a195f480dc75516db2f2666b62e543ebd..99c20e573b64b283699e38d12df01bc79bc68a24 100644 (file)
@@ -9,8 +9,8 @@ Compile with:
 
 
 Server is 1.2.3.4 and is on the public internet accepting UDP:49918.
-Client A is NAT'd and doesnt't know its IP address.
-Client B is NAT'd and doesnt't know its IP address.
+Client A is NAT'd and doesn't know its IP address.
+Client B is NAT'd and doesn't know its IP address.
 
 
 Server runs:
index 144d462369ea5fbb82cee09dcd95250b8a517f5e..ad05895ee2c225718bd5ba1dd2f6015114f11cf0 100644 (file)
@@ -390,10 +390,10 @@ static int32_t string_array_size(char *const *array)
        return size;
 }
 
-static const char *string_array_getter(const void *array_data, size_t index, int32_t *outlength)
+static const char *string_array_getter(const void *array_data, size_t index, int32_t *out_length)
 {
        const char **array = (const char **)array_data;
-       *outlength = array[index] ? strlen(array[index]) : -1;
+       *out_length = array[index] ? strlen(array[index]) : -1;
        return array[index];
 }