diff options
author | Martin Szulecki | 2012-07-17 18:14:18 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 18:14:18 +0200 |
commit | d3dd165257c75c7f3542a97f40135ff94ac7d361 (patch) | |
tree | 75e943e91ecd85653fdc1bb7dcf2abf2ce44d674 /src/tss.c | |
parent | 5822ae2d49e41ffc095be39717454a43a3452ef1 (diff) | |
download | idevicerestore-d3dd165257c75c7f3542a97f40135ff94ac7d361.tar.gz idevicerestore-d3dd165257c75c7f3542a97f40135ff94ac7d361.tar.bz2 |
tss: Print server MESSAGE response if unhandled error is returned
Diffstat (limited to 'src/tss.c')
-rw-r--r-- | src/tss.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -387,7 +387,8 @@ plist_t tss_send_request(plist_t tss_request) { } if (status_code != 0) { - error("ERROR: TSS request failed (status=%d)\n", status_code); + char* message = strstr(response->content, "MESSAGE="); + error("ERROR: TSS request failed (status=%d, message=%s)\n", status_code, message); free(response->content); free(response); free(request); |