diff options
author | Nikias Bassen | 2013-09-22 01:33:00 +0200 |
---|---|---|
committer | Nikias Bassen | 2013-09-22 01:33:00 +0200 |
commit | ac2c28e44d9636e28a4d8b5835613081be3316bd (patch) | |
tree | 8647066ef2abb18e46408df07e03c6d4bbe28f3a /tools | |
parent | 0e9f962f32714ffc3d5ce79b95dc130cf4ed5bef (diff) | |
download | libimobiledevice-ac2c28e44d9636e28a4d8b5835613081be3316bd.tar.gz libimobiledevice-ac2c28e44d9636e28a4d8b5835613081be3316bd.tar.bz2 |
idevicebackup2: suppress message when notification_proxy gets disconnected
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicebackup2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index ce4ed23..eebbd87 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c @@ -96,6 +96,9 @@ static int backup_domain_changed = 0; static void notify_cb(const char *notification, void *userdata) { + if (strlen(notification) == 0) { + return; + } if (!strcmp(notification, NP_SYNC_CANCEL_REQUEST)) { PRINT_VERBOSE(1, "User has cancelled the backup process on the device.\n"); quit_flag++; |