diff options
| -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; | |||
| 96 | 96 | ||
| 97 | static void notify_cb(const char *notification, void *userdata) | 97 | static void notify_cb(const char *notification, void *userdata) |
| 98 | { | 98 | { |
| 99 | if (strlen(notification) == 0) { | ||
| 100 | return; | ||
| 101 | } | ||
| 99 | if (!strcmp(notification, NP_SYNC_CANCEL_REQUEST)) { | 102 | if (!strcmp(notification, NP_SYNC_CANCEL_REQUEST)) { |
| 100 | PRINT_VERBOSE(1, "User has cancelled the backup process on the device.\n"); | 103 | PRINT_VERBOSE(1, "User has cancelled the backup process on the device.\n"); |
| 101 | quit_flag++; | 104 | quit_flag++; |
