summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-08 01:13:35 +0100
committerGravatar Martin Szulecki2010-01-08 01:13:35 +0100
commit0ac0908fd09627e789c7bb2255aed8109ca2e47f (patch)
tree61df2e20713bb88933aff7357e3cecb34788ab76 /tools
parent5e45779a8d22068f54e0dbdc42995be27b858e18 (diff)
downloadlibimobiledevice-0ac0908fd09627e789c7bb2255aed8109ca2e47f.tar.gz
libimobiledevice-0ac0908fd09627e789c7bb2255aed8109ca2e47f.tar.bz2
Allow set the label of a lockdown request, usually set to the program name
Diffstat (limited to 'tools')
-rw-r--r--tools/iphone_id.c2
-rw-r--r--tools/iphoneinfo.c2
-rw-r--r--tools/iphonesyslog.c2
3 files changed, 3 insertions, 3 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..423c57e 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;
}
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;
}