diff options
author | 2025-06-12 23:51:13 +0200 | |
---|---|---|
committer | 2025-06-12 23:51:13 +0200 | |
commit | b88632c4837367d4eca7e3746b011f4cf2a5901f (patch) | |
tree | 24555e10d6a06b933b53f6ae0ae2b9392888daec /tools/idevicesyslog.c | |
parent | 5058a1e8c5aeba194b44ba60036fad79b08fe356 (diff) | |
download | libimobiledevice-b88632c4837367d4eca7e3746b011f4cf2a5901f.tar.gz libimobiledevice-b88632c4837367d4eca7e3746b011f4cf2a5901f.tar.bz2 |
idevicesyslog: Another small fix for device detection with ostrace
Diffstat (limited to 'tools/idevicesyslog.c')
-rw-r--r-- | tools/idevicesyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 1c6e0c7..bd73f88 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
@@ -663,7 +663,7 @@ static void device_event_cb(const idevice_event_t* event, void* userdata) | |||
663 | return; | 663 | return; |
664 | } | 664 | } |
665 | if (event->event == IDEVICE_DEVICE_ADD) { | 665 | if (event->event == IDEVICE_DEVICE_ADD) { |
666 | if (!syslog) { | 666 | if (!syslog && !ostrace) { |
667 | if (!udid) { | 667 | if (!udid) { |
668 | udid = strdup(event->udid); | 668 | udid = strdup(event->udid); |
669 | } | 669 | } |