diff options
author | Jonathan Beck | 2008-12-08 22:47:02 +0100 |
---|---|---|
committer | Jonathan Beck | 2008-12-08 22:47:02 +0100 |
commit | 1a06347d27ca51283de3a9ff21e138a3ea9ba9b6 (patch) | |
tree | aa863b9df8557c8dc04da2b6e6f982640bc3ac26 /src/lockdown.c | |
parent | 7563917755cf58cee80fbd5bc56a1ab0f563963a (diff) | |
download | libplist-1a06347d27ca51283de3a9ff21e138a3ea9ba9b6.tar.gz libplist-1a06347d27ca51283de3a9ff21e138a3ea9ba9b6.tar.bz2 |
cleanup binary parsing and move stuff around.
Diffstat (limited to 'src/lockdown.c')
-rw-r--r-- | src/lockdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 55e2e65..ae077b7 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -963,7 +963,7 @@ iphone_error_t iphone_lckd_start_service(iphone_lckd_client_t client, const char if (result_key_type == PLIST_KEY && result_value_type == PLIST_STRING && port_key_type == PLIST_KEY && - port_value_type == PLIST_UINT64 && + port_value_type == PLIST_UINT && !strcmp(result_key, "Result") && !strcmp(result_value, "Success") && !strcmp(port_key, "Port")) { port_loc = port_value; ret = IPHONE_E_SUCCESS; |