diff options
Diffstat (limited to 'src/mobilesync.c')
-rw-r--r-- | src/mobilesync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mobilesync.c b/src/mobilesync.c index 8881e75..e50226c 100644 --- a/src/mobilesync.c +++ b/src/mobilesync.c | |||
@@ -473,7 +473,7 @@ LIBIMOBILEDEVICE_API mobilesync_error_t mobilesync_clear_all_records_on_device(m | |||
473 | goto out; | 473 | goto out; |
474 | } | 474 | } |
475 | 475 | ||
476 | if (strcmp(response_type, "SDMessageDeviceWillClearAllRecords")) { | 476 | if (strcmp(response_type, "SDMessageDeviceWillClearAllRecords") != 0) { |
477 | err = MOBILESYNC_E_PLIST_ERROR; | 477 | err = MOBILESYNC_E_PLIST_ERROR; |
478 | } | 478 | } |
479 | 479 | ||