summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicebackup2.c')
-rw-r--r--tools/idevicebackup2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index 0370139..4fde24f 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -1499,7 +1499,8 @@ int main(int argc, char *argv[])
1499 } 1499 }
1500 1500
1501 lockdownd_client_t lockdown = NULL; 1501 lockdownd_client_t lockdown = NULL;
1502 if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup2")) { 1502 if (LOCKDOWN_E_SUCCESS != (ldret = lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup2"))) {
1503 printf("ERROR: Could not connect to lockdownd, error code %d\n", ldret);
1503 idevice_free(device); 1504 idevice_free(device);
1504 return -1; 1505 return -1;
1505 } 1506 }