diff options
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index ec65f87..0402092 100644 --- a/src/device.c +++ b/src/device.c | |||
@@ -611,9 +611,12 @@ static void device_control_input(struct mux_device *dev, unsigned char *payload, | |||
611 | buf[payload_length-1] = '\0'; | 611 | buf[payload_length-1] = '\0'; |
612 | usbmuxd_log(LL_INFO, "%s: %s", __func__, buf); | 612 | usbmuxd_log(LL_INFO, "%s: %s", __func__, buf); |
613 | free(buf); | 613 | free(buf); |
614 | } else { | ||
615 | usbmuxd_log(LL_WARNING, "%s: Got payload type 7 with empty message", __func__); | ||
614 | } | 616 | } |
615 | break; | 617 | break; |
616 | default: | 618 | default: |
619 | usbmuxd_log(LL_WARNING, "%s: Got unhandled payload type %d", __func__, payload[0]); | ||
617 | break; | 620 | break; |
618 | } | 621 | } |
619 | } else { | 622 | } else { |