diff options
author | 2021-08-02 02:07:03 +0200 | |
---|---|---|
committer | 2021-08-02 02:07:03 +0200 | |
commit | 160046305f9c6e4e3e84699d7c61d59c5d87ea0b (patch) | |
tree | 5c27d97f4999cc530d1d836179ac7ab097228a28 /src/preflight.c | |
parent | 4eb83b705fe9cfe3cdb1de158182bddd988ae07b (diff) | |
download | usbmuxd-160046305f9c6e4e3e84699d7c61d59c5d87ea0b.tar.gz usbmuxd-160046305f9c6e4e3e84699d7c61d59c5d87ea0b.tar.bz2 |
preflight: Reflect device_class member addition to struct idevice_private
Diffstat (limited to 'src/preflight.c')
-rw-r--r-- | src/preflight.c | 2 |
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 { | |||
59 | enum idevice_connection_type conn_type; | 59 | enum idevice_connection_type conn_type; |
60 | void *conn_data; | 60 | void *conn_data; |
61 | int version; | 61 | int version; |
62 | int device_class; | ||
62 | }; | 63 | }; |
63 | 64 | ||
64 | struct cb_data { | 65 | struct cb_data { |
@@ -138,6 +139,7 @@ static void* preflight_worker_handle_device_add(void* userdata) | |||
138 | _dev->conn_type = CONNECTION_USBMUXD; | 139 | _dev->conn_type = CONNECTION_USBMUXD; |
139 | _dev->conn_data = NULL; | 140 | _dev->conn_data = NULL; |
140 | _dev->version = 0; | 141 | _dev->version = 0; |
142 | _dev->device_class = 0; | ||
141 | 143 | ||
142 | idevice_t dev = (idevice_t)_dev; | 144 | idevice_t dev = (idevice_t)_dev; |
143 | 145 | ||