diff options
Diffstat (limited to 'tools/idevicebackup.c')
| -rw-r--r-- | tools/idevicebackup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c index 2159566..c5315d2 100644 --- a/tools/idevicebackup.c +++ b/tools/idevicebackup.c | |||
| @@ -843,7 +843,8 @@ int main(int argc, char *argv[]) | |||
| 843 | } | 843 | } |
| 844 | } | 844 | } |
| 845 | 845 | ||
| 846 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(device, &client, "idevicebackup")) { | 846 | if (LOCKDOWN_E_SUCCESS != (ldret = lockdownd_client_new_with_handshake(device, &client, "idevicebackup"))) { |
| 847 | printf("ERROR: Could not connect to lockdownd, error code %d\n", ldret); | ||
| 847 | idevice_free(device); | 848 | idevice_free(device); |
| 848 | return -1; | 849 | return -1; |
| 849 | } | 850 | } |
