summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-25 23:54:28 +0200
committerGravatar Jonathan Beck2008-08-31 19:33:19 +0200
commit036cfaf4f28143f61167eed62e9d6645a814fc96 (patch)
tree22005bb0ca3308807ef955637bf08954e3b0e620
parent572113d68e2b8d087526474dc384dac69e937bd3 (diff)
downloadlibimobiledevice-036cfaf4f28143f61167eed62e9d6645a814fc96.tar.gz
libimobiledevice-036cfaf4f28143f61167eed62e9d6645a814fc96.tar.bz2
fix iphone_lck_new_client
-rw-r--r--src/lockdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lockdown.c b/src/lockdown.c
index d30d6e0..179b0a9 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -341,7 +341,7 @@ int iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_client_t *clien
uid = NULL;
}
- if (IPHONE_E_SUCCESS == ret && !lockdownd_start_SSL_session(client_loc, host_id)) {
+ if (IPHONE_E_SUCCESS == ret && lockdownd_start_SSL_session(client_loc, host_id)) {
ret = IPHONE_E_SUCCESS;
} else {
ret = IPHONE_E_SSL_ERROR;