diff options
author | Martin Szulecki | 2013-11-19 22:41:08 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-19 22:41:08 +0100 |
commit | db504297744baf2c3d46f2e80d5461fda6b1f17f (patch) | |
tree | a34e6571e1414e1e2660402b60a3916c25b4bbb3 /src/tss.c | |
parent | 641d5ddcae673f8511578258f8ab5b5f0add90dc (diff) | |
download | idevicerestore-db504297744baf2c3d46f2e80d5461fda6b1f17f.tar.gz idevicerestore-db504297744baf2c3d46f2e80d5461fda6b1f17f.tar.bz2 |
tss: Add debug output for TSS request on sending
Diffstat (limited to 'src/tss.c')
-rw-r--r-- | src/tss.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -439,6 +439,10 @@ size_t tss_write_callback(char* data, size_t size, size_t nmemb, tss_response* r plist_t tss_request_send(plist_t tss_request, const char* server_url_string) { curl_global_init(CURL_GLOBAL_ALL); + if (idevicerestore_debug) { + debug_plist(tss_request); + } + char* request = NULL; int status_code = -1; int retry = 0; |