diff options
-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, usbmuxd_log(LL_ERROR, "%s: Device %d: Got device error payload with empty message", __func__, dev->id); } break; + case 5: + if (payload_length > 1) { + usbmuxd_log(LL_WARNING, "Device %d: WARNING: %.*s", dev->id, payload_length-1, payload+1); + } else { + usbmuxd_log(LL_WARNING, "%s: Device %d: Got payload type %d with empty message", __func__, dev->id, payload[0]); + } + break; case 7: if (payload_length > 1) { usbmuxd_log(LL_INFO, "Device %d: %.*s", dev->id, payload_length-1, payload+1); |