summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device.c3
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,
buf[payload_length-1] = '\0';
usbmuxd_log(LL_INFO, "%s: %s", __func__, buf);
free(buf);
+ } else {
+ usbmuxd_log(LL_WARNING, "%s: Got payload type 7 with empty message", __func__);
}
break;
default:
+ usbmuxd_log(LL_WARNING, "%s: Got unhandled payload type %d", __func__, payload[0]);
break;
}
} else {