diff options
-rw-r--r-- | sock_stuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sock_stuff.c b/sock_stuff.c index cdc39d1..796a0f9 100644 --- a/sock_stuff.c +++ b/sock_stuff.c @@ -264,7 +264,7 @@ int recv_buf_timeout(int fd, void *data, size_t length, int flags, unsigned int result = recv(fd, data, length, flags); if (res > 0 && result == 0) { // but this is an error condition - fprintf(stderr, "%s: fd=%d\n", __func__, fd); + fprintf(stderr, "%s: fd=%d recv returned 0\n", __func__, fd); return -1; } return result; |