summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;