summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-08-02 02:07:03 +0200
committerGravatar Nikias Bassen2021-08-02 02:07:03 +0200
commit160046305f9c6e4e3e84699d7c61d59c5d87ea0b (patch)
tree5c27d97f4999cc530d1d836179ac7ab097228a28 /src
parent4eb83b705fe9cfe3cdb1de158182bddd988ae07b (diff)
downloadusbmuxd-160046305f9c6e4e3e84699d7c61d59c5d87ea0b.tar.gz
usbmuxd-160046305f9c6e4e3e84699d7c61d59c5d87ea0b.tar.bz2
preflight: Reflect device_class member addition to struct idevice_private
Diffstat (limited to 'src')
-rw-r--r--src/preflight.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preflight.c b/src/preflight.c
index 820f3fc..e58a2d6 100644
--- a/src/preflight.c
+++ b/src/preflight.c
@@ -59,6 +59,7 @@ struct idevice_private {
enum idevice_connection_type conn_type;
void *conn_data;
int version;
+ int device_class;
};
struct cb_data {
@@ -138,6 +139,7 @@ static void* preflight_worker_handle_device_add(void* userdata)
_dev->conn_type = CONNECTION_USBMUXD;
_dev->conn_data = NULL;
_dev->version = 0;
+ _dev->device_class = 0;
idevice_t dev = (idevice_t)_dev;