summaryrefslogtreecommitdiffstats
path: root/sock_stuff.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-03-11 15:42:26 +0100
committerGravatar Nikias Bassen2009-03-11 15:42:26 +0100
commit53efe85b04af43a08acda8ce58b39800d027a597 (patch)
treecfc7e7de3966f85d31eaafb5f6dafa0a23409ac5 /sock_stuff.c
parentd7122e75ef6f28764630714d4720f98b9050d5ef (diff)
downloadusbmuxd-53efe85b04af43a08acda8ce58b39800d027a597.tar.gz
usbmuxd-53efe85b04af43a08acda8ce58b39800d027a597.tar.bz2
debug message refined
Diffstat (limited to 'sock_stuff.c')
-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
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;