From 160046305f9c6e4e3e84699d7c61d59c5d87ea0b Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 2 Aug 2021 02:07:03 +0200 Subject: preflight: Reflect device_class member addition to struct idevice_private --- src/preflight.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.1-32-gdbae