diff options
author | Martin Szulecki | 2014-10-02 17:00:32 +0200 |
---|---|---|
committer | Martin Szulecki | 2014-10-02 17:00:32 +0200 |
commit | 12539c3ed6aa97b9dfe9d1c1d62cbc72c27bb4c3 (patch) | |
tree | dc41454c5e8f07acd74f59112d00b59e1c104d79 | |
parent | 6011eef62e64bb7cf8239b8466c9aed01432d2f8 (diff) | |
download | libimobiledevice-12539c3ed6aa97b9dfe9d1c1d62cbc72c27bb4c3.tar.gz libimobiledevice-12539c3ed6aa97b9dfe9d1c1d62cbc72c27bb4c3.tar.bz2 |
idevicebackup2: Use correct label for lockdown requests
-rw-r--r-- | tools/idevicebackup2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index 1047a38..b0a4f2c 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c @@ -387,7 +387,7 @@ static void do_post_notification(idevice_t device, const char *notification) lockdownd_client_t lockdown = NULL; - if (lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup") != LOCKDOWN_E_SUCCESS) { + if (lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup2") != LOCKDOWN_E_SUCCESS) { return; } @@ -1498,7 +1498,7 @@ int main(int argc, char *argv[]) } lockdownd_client_t lockdown = NULL; - if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup")) { + if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup2")) { idevice_free(device); return -1; } |