diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-03 12:18:58 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-03 12:18:58 -0400 |
commit | ceab64be75a00fd498d1b5955f1e5e94da49a4bf (patch) | |
tree | 37d7e59a715c98b9ad325bc9865f536a8ed0b4db | |
parent | c613da7ab3a296b2477b473c178d2d8afd981165 (diff) |
nshd-tester: add a comment
-rw-r--r-- | bin/nshd-tester.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nshd-tester.c b/bin/nshd-tester.c index 8667ec0..42398c1 100644 --- a/bin/nshd-tester.c +++ b/bin/nshd-tester.c @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) { while (1) { union addr client_addr; socklen_t client_size; - char buf[4097]; + char buf[4097]; /* allow for 4 KiB reads, plus an implicit trailing newline */ ssize_t bytes_read = recvfrom(notify_sock, buf, sizeof(buf)-1, 0, &client_addr.gen, &client_size); if (bytes_read < 1) error(EXIT_FAILURE, errno, "recvfrom"); |