diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/iphone_id.c | 2 | ||||
-rw-r--r-- | tools/iphoneinfo.c | 5 | ||||
-rw-r--r-- | tools/iphonesyslog.c | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/tools/iphone_id.c b/tools/iphone_id.c index 80f22e1..a293469 100644 --- a/tools/iphone_id.c +++ b/tools/iphone_id.c @@ -70,7 +70,7 @@ int main(int argc, char **argv) return -2; } - if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { + if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client, "iphone_id")) { iphone_device_free(phone); fprintf(stderr, "ERROR: Connecting to device failed!\n"); return -2; diff --git a/tools/iphoneinfo.c b/tools/iphoneinfo.c index e0d7693..b5344be 100644 --- a/tools/iphoneinfo.c +++ b/tools/iphoneinfo.c @@ -136,7 +136,7 @@ int main(int argc, char *argv[]) } } - if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { + if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client, "iphoneinfo")) { iphone_device_free(phone); return -1; } @@ -278,13 +278,10 @@ void plist_children_to_string(plist_t node) plist_dict_next_item(node, it, &key, &subnode); while (subnode) { - subnode = NULL; - printf("%s: ", key); free(key); key = NULL; plist_node_to_string(subnode); - plist_dict_next_item(node, it, &key, &subnode); } free(it); diff --git a/tools/iphonesyslog.c b/tools/iphonesyslog.c index 8fa3b04..5d4f564 100644 --- a/tools/iphonesyslog.c +++ b/tools/iphonesyslog.c @@ -99,7 +99,7 @@ int main(int argc, char *argv[]) } } - if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) { + if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client, "iphonesyslog")) { iphone_device_free(phone); return -1; } |