summaryrefslogtreecommitdiffstats
path: root/src/tss.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-19 22:41:08 +0100
committerGravatar Martin Szulecki2013-11-19 22:41:08 +0100
commitdb504297744baf2c3d46f2e80d5461fda6b1f17f (patch)
treea34e6571e1414e1e2660402b60a3916c25b4bbb3 /src/tss.c
parent641d5ddcae673f8511578258f8ab5b5f0add90dc (diff)
downloadidevicerestore-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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tss.c b/src/tss.c
index 66e09ce..6d87d20 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -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;