diff options
| -rw-r--r-- | libusbmuxd/libusbmuxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c index a6a8c86..861eefc 100644 --- a/libusbmuxd/libusbmuxd.c +++ b/libusbmuxd/libusbmuxd.c | |||
| @@ -567,7 +567,7 @@ int get_next_event(int sfd, usbmuxd_event_cb_t callback, void *user_data) | |||
| 567 | collection_remove(&devices, devinfo); | 567 | collection_remove(&devices, devinfo); |
| 568 | free(devinfo); | 568 | free(devinfo); |
| 569 | } | 569 | } |
| 570 | } else { | 570 | } else if (hdr.length > 0) { |
| 571 | fprintf(stderr, "%s: Unexpected message type %d length %d received!\n", __func__, hdr.message, hdr.length); | 571 | fprintf(stderr, "%s: Unexpected message type %d length %d received!\n", __func__, hdr.message, hdr.length); |
| 572 | } | 572 | } |
| 573 | if (payload) { | 573 | if (payload) { |
