summaryrefslogtreecommitdiffstats
path: root/dev/iphoneinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/iphoneinfo.c')
-rw-r--r--dev/iphoneinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/iphoneinfo.c b/dev/iphoneinfo.c
index 02b62d5..52d7c8a 100644
--- a/dev/iphoneinfo.c
+++ b/dev/iphoneinfo.c
@@ -136,13 +136,13 @@ int main(int argc, char *argv[])
136 } 136 }
137 } 137 }
138 138
139 if (IPHONE_E_SUCCESS != lockdownd_new_client(phone, &client)) { 139 if (LOCKDOWN_E_SUCCESS != lockdownd_client_new(phone, &client)) {
140 iphone_free_device(phone); 140 iphone_free_device(phone);
141 return -1; 141 return -1;
142 } 142 }
143 143
144 /* run query and output information */ 144 /* run query and output information */
145 if(lockdownd_get_value(client, domain, key, &node) == IPHONE_E_SUCCESS) 145 if(lockdownd_get_value(client, domain, key, &node) == LOCKDOWN_E_SUCCESS)
146 { 146 {
147 if (plist_get_node_type(node) == PLIST_DICT) { 147 if (plist_get_node_type(node) == PLIST_DICT) {
148 if (plist_get_first_child(node)) 148 if (plist_get_first_child(node))
@@ -169,7 +169,7 @@ int main(int argc, char *argv[])
169 169
170 if (domain != NULL) 170 if (domain != NULL)
171 free(domain); 171 free(domain);
172 lockdownd_free_client(client); 172 lockdownd_client_free(client);
173 iphone_free_device(phone); 173 iphone_free_device(phone);
174 174
175 return 0; 175 return 0;