From ac2c28e44d9636e28a4d8b5835613081be3316bd Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 22 Sep 2013 01:33:00 +0200 Subject: idevicebackup2: suppress message when notification_proxy gets disconnected --- tools/idevicebackup2.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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++; -- cgit v1.1-32-gdbae