summaryrefslogtreecommitdiffstats
path: root/src/preflight.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/preflight.c')
-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 {
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
64struct cb_data { 65struct 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