diff options
author | Josh Soref <jsoref@gmail.com> | 2019-12-10 17:22:58 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-12-12 12:24:05 +0100 |
commit | a863be0148345f879a17440462e213e8d7d576fd (patch) | |
tree | f25a1f918edc59d436ecd0f45bbde8a12ad439e6 | |
parent | wg-quick: linux: add support for nft and prefer it (diff) | |
download | wireguard-tools-a863be0148345f879a17440462e213e8d7d576fd.tar.xz wireguard-tools-a863be0148345f879a17440462e213e8d7d576fd.zip |
global: fix up spelling
Signed-off-by: Josh Soref <jsoref@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | contrib/nat-hole-punching/README | 4 | ||||
-rw-r--r-- | src/wg-quick/android.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/nat-hole-punching/README b/contrib/nat-hole-punching/README index 46e6201..99c20e5 100644 --- a/contrib/nat-hole-punching/README +++ b/contrib/nat-hole-punching/README @@ -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: diff --git a/src/wg-quick/android.c b/src/wg-quick/android.c index 144d462..ad05895 100644 --- a/src/wg-quick/android.c +++ b/src/wg-quick/android.c @@ -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]; } |