diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-18 00:19:24 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-07-18 00:32:54 +0000 |
commit | 392eef7900fdedda28f9c3aff5b0434f963a7f86 (patch) | |
tree | 216e8d28f2f8ad5555b22b0a617eb7ce6e9f3156 /auto_tests/network_test.c | |
parent | 13aa33a0f8655800ed1575223ac84322f69927b7 (diff) |
Correct the max hostname length constant.
256 bytes including NUL byte is confusing and makes for really annoying
bindings to other languages that don't account for NUL bytes in their
string length. We pass C strings, not byte arrays, for hostnames, so 255
makes more sense here.
Diffstat (limited to 'auto_tests/network_test.c')
0 files changed, 0 insertions, 0 deletions