diff options
author | Martin Szulecki | 2010-07-08 15:33:15 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-07-08 15:33:15 +0200 |
commit | 5c3afed329e828342d735b4af9a9cae90fcc9a34 (patch) | |
tree | 575c2a5f6426b8229b4d848ab9f41a01711647ee /src/tss.c | |
parent | 64ad5928ac315798e0c45690d1a477f5fd3a79f3 (diff) | |
download | idevicerestore-5c3afed329e828342d735b4af9a9cae90fcc9a34.tar.gz idevicerestore-5c3afed329e828342d735b4af9a9cae90fcc9a34.tar.bz2 |
Use debug_plist in tss code and remove redundant code
Diffstat (limited to 'src/tss.c')
-rw-r--r-- | src/tss.c | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -126,11 +126,7 @@ plist_t tss_create_request(plist_t build_identity, uint64_t ecid) { } if (idevicerestore_debug) { - int sz = 0; - char* xml = NULL; - plist_to_xml(tss_request, &xml, &sz); - debug("%s", xml); - free(xml); + debug_plist(tss_request); } return tss_request; @@ -207,11 +203,7 @@ plist_t tss_send_request(plist_t tss_request) { free(response); if (idevicerestore_debug) { - int sz = 0; - char* xml = NULL; - plist_to_xml(tss_response, &xml, &sz); - debug("%s", xml); - free(xml); + debug_plist(tss_response); } return tss_response; |