diff options
| author | 2010-01-12 17:06:53 +0100 | |
|---|---|---|
| committer | 2010-01-12 17:06:53 +0100 | |
| commit | 9de537f6963e4e9770ee0aabfeb6982e3d422e69 (patch) | |
| tree | 95e456eef72f85bb906326b6231d1ceb24fad38f /dev/iphoneenterrecovery.c | |
| parent | d07e1052c13ee472a34e90a4d87fbc3ddd2ad63f (diff) | |
| download | libimobiledevice-9de537f6963e4e9770ee0aabfeb6982e3d422e69.tar.gz libimobiledevice-9de537f6963e4e9770ee0aabfeb6982e3d422e69.tar.bz2 | |
Allow lockdown client creation without performing full handshake
The lockdown constructor was doing more than needed. Pairing and session
negotiation is now handled by lockdownd_client_new_with_handshake().
Diffstat (limited to 'dev/iphoneenterrecovery.c')
| -rw-r--r-- | dev/iphoneenterrecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/iphoneenterrecovery.c b/dev/iphoneenterrecovery.c index 126941c..cab41f8 100644 --- a/dev/iphoneenterrecovery.c +++ b/dev/iphoneenterrecovery.c | |||
| @@ -74,7 +74,7 @@ int main(int argc, char *argv[]) | |||
| 74 | return -1; | 74 | return -1; |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client, "iphoneenterrecovery")) { | 77 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "iphoneenterrecovery")) { |
| 78 | iphone_device_free(phone); | 78 | iphone_device_free(phone); |
| 79 | return -1; | 79 | return -1; |
| 80 | } | 80 | } |
