diff options
author | Nikias Bassen | 2009-03-11 15:42:26 +0100 |
---|---|---|
committer | Nikias Bassen | 2009-03-11 15:42:26 +0100 |
commit | 53efe85b04af43a08acda8ce58b39800d027a597 (patch) | |
tree | cfc7e7de3966f85d31eaafb5f6dafa0a23409ac5 /sock_stuff.c | |
parent | d7122e75ef6f28764630714d4720f98b9050d5ef (diff) | |
download | usbmuxd-53efe85b04af43a08acda8ce58b39800d027a597.tar.gz usbmuxd-53efe85b04af43a08acda8ce58b39800d027a597.tar.bz2 |
debug message refined
Diffstat (limited to 'sock_stuff.c')
-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; |