summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-12 17:06:53 +0100
committerGravatar Martin Szulecki2010-01-12 17:06:53 +0100
commit9de537f6963e4e9770ee0aabfeb6982e3d422e69 (patch)
tree95e456eef72f85bb906326b6231d1ceb24fad38f /swig
parentd07e1052c13ee472a34e90a4d87fbc3ddd2ad63f (diff)
downloadlibimobiledevice-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 'swig')
-rw-r--r--swig/iphone.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/swig/iphone.i b/swig/iphone.i
index 6e1849e..6b8ef3f 100644
--- a/swig/iphone.i
+++ b/swig/iphone.i
@@ -71,7 +71,7 @@ Lockdownd* my_new_Lockdownd(iPhone* phone) {
Lockdownd* client = (Lockdownd*) malloc(sizeof(Lockdownd));
client->dev = phone;
client->client = NULL;
- if (LOCKDOWN_E_SUCCESS == lockdownd_client_new(phone->dev , &(client->client), NULL)) {
+ if (LOCKDOWN_E_SUCCESS == lockdownd_client_new_with_handshake(phone->dev , &(client->client), NULL)) {
return client;
}
else {