diff options
author | Martin Szulecki | 2012-07-17 18:15:16 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 18:15:16 +0200 |
commit | 1944e2c657b4255c7426026f316cdd71cd091844 (patch) | |
tree | 1b2c82451e29e3c99055490f2e533596ab403b9a /src | |
parent | d3dd165257c75c7f3542a97f40135ff94ac7d361 (diff) | |
download | idevicerestore-1944e2c657b4255c7426026f316cdd71cd091844.tar.gz idevicerestore-1944e2c657b4255c7426026f316cdd71cd091844.tar.bz2 |
restore: Only print "Provisioning:" if IMEI is available at all
Diffstat (limited to 'src')
-rw-r--r-- | src/restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c index 148dbc8..90c06d8 100644 --- a/src/restore.c +++ b/src/restore.c @@ -557,11 +557,11 @@ int restore_handle_bb_update_status_msg(restored_client_t client, plist_t msg) info("Updating Baseband completed.\n"); plist_t provisioning = plist_access_path(msg, 2, "Output", "provisioning"); if (provisioning && plist_get_node_type(provisioning) == PLIST_DICT) { - info("Provisioning:\n"); char* sval = NULL; node = plist_dict_get_item(provisioning, "IMEI"); if (node && plist_get_node_type(node) == PLIST_STRING) { plist_get_string_val(node, &sval); + info("Provisioning:\n"); info("IMEI:%s\n", sval); free(sval); sval = NULL; |