global: fix up spelling
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
17c78d31c2
commit
a863be0148
|
@ -9,8 +9,8 @@ Compile with:
|
||||||
|
|
||||||
|
|
||||||
Server is 1.2.3.4 and is on the public internet accepting UDP:49918.
|
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 A is NAT'd and doesn't know its IP address.
|
||||||
Client B is NAT'd and doesnt't know its IP address.
|
Client B is NAT'd and doesn't know its IP address.
|
||||||
|
|
||||||
|
|
||||||
Server runs:
|
Server runs:
|
||||||
|
|
|
@ -390,10 +390,10 @@ static int32_t string_array_size(char *const *array)
|
||||||
return size;
|
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;
|
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];
|
return array[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue