From ceab64be75a00fd498d1b5955f1e5e94da49a4bf Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 3 Sep 2017 12:18:58 -0400 Subject: nshd-tester: add a comment --- bin/nshd-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.2