summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-09-22 01:33:00 +0200
committerGravatar Nikias Bassen2013-09-22 01:33:00 +0200
commitac2c28e44d9636e28a4d8b5835613081be3316bd (patch)
tree8647066ef2abb18e46408df07e03c6d4bbe28f3a
parent0e9f962f32714ffc3d5ce79b95dc130cf4ed5bef (diff)
downloadlibimobiledevice-ac2c28e44d9636e28a4d8b5835613081be3316bd.tar.gz
libimobiledevice-ac2c28e44d9636e28a4d8b5835613081be3316bd.tar.bz2
idevicebackup2: suppress message when notification_proxy gets disconnected
-rw-r--r--tools/idevicebackup2.c3
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++;