summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sock_stuff.c2
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
264 result = recv(fd, data, length, flags); 264 result = recv(fd, data, length, flags);
265 if (res > 0 && result == 0) { 265 if (res > 0 && result == 0) {
266 // but this is an error condition 266 // but this is an error condition
267 fprintf(stderr, "%s: fd=%d\n", __func__, fd); 267 fprintf(stderr, "%s: fd=%d recv returned 0\n", __func__, fd);
268 return -1; 268 return -1;
269 } 269 }
270 return result; 270 return result;