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