diff options
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index a6afffd..0b72c62 100644 --- a/src/device.c +++ b/src/device.c | |||
@@ -600,6 +600,13 @@ static void device_control_input(struct mux_device *dev, unsigned char *payload, | |||
600 | usbmuxd_log(LL_ERROR, "%s: Device %d: Got device error payload with empty message", __func__, dev->id); | 600 | usbmuxd_log(LL_ERROR, "%s: Device %d: Got device error payload with empty message", __func__, dev->id); |
601 | } | 601 | } |
602 | break; | 602 | break; |
603 | case 5: | ||
604 | if (payload_length > 1) { | ||
605 | usbmuxd_log(LL_WARNING, "Device %d: WARNING: %.*s", dev->id, payload_length-1, payload+1); | ||
606 | } else { | ||
607 | usbmuxd_log(LL_WARNING, "%s: Device %d: Got payload type %d with empty message", __func__, dev->id, payload[0]); | ||
608 | } | ||
609 | break; | ||
603 | case 7: | 610 | case 7: |
604 | if (payload_length > 1) { | 611 | if (payload_length > 1) { |
605 | usbmuxd_log(LL_INFO, "Device %d: %.*s", dev->id, payload_length-1, payload+1); | 612 | usbmuxd_log(LL_INFO, "Device %d: %.*s", dev->id, payload_length-1, payload+1); |