diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/iphoneinfo.c | 2 | ||||
| -rw-r--r-- | tools/iphonesyslog.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/iphoneinfo.c b/tools/iphoneinfo.c index e1417a5..a8fba5f 100644 --- a/tools/iphoneinfo.c +++ b/tools/iphoneinfo.c | |||
| @@ -142,7 +142,7 @@ int main(int argc, char *argv[]) | |||
| 142 | } | 142 | } |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client, "iphoneinfo")) { | 145 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "iphoneinfo")) { |
| 146 | iphone_device_free(phone); | 146 | iphone_device_free(phone); |
| 147 | return -1; | 147 | return -1; |
| 148 | } | 148 | } |
diff --git a/tools/iphonesyslog.c b/tools/iphonesyslog.c index 5d4f564..14a8223 100644 --- a/tools/iphonesyslog.c +++ b/tools/iphonesyslog.c | |||
| @@ -99,7 +99,7 @@ int main(int argc, char *argv[]) | |||
| 99 | } | 99 | } |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client, "iphonesyslog")) { | 102 | if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "iphonesyslog")) { |
| 103 | iphone_device_free(phone); | 103 | iphone_device_free(phone); |
| 104 | return -1; | 104 | return -1; |
| 105 | } | 105 | } |
