summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-28 12:52:25 +0100
committerGravatar Martin Szulecki2014-10-28 12:52:25 +0100
commitfbe865faa351e8b8622c0627d03d5fb56380ff7c (patch)
tree75277801f91596fc1427ccf0920e6d8d6dd99f43 /src
parent40fa8a1822b5994ae388755c9ad6d73cf3adbeac (diff)
downloadidevicerestore-fbe865faa351e8b8622c0627d03d5fb56380ff7c.tar.gz
idevicerestore-fbe865faa351e8b8622c0627d03d5fb56380ff7c.tar.bz2
tss: Intercept server status code 126 indicating malformed request
Diffstat (limited to 'src')
-rw-r--r--src/tss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tss.c b/src/tss.c
index ea96e58..6ec3811 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -751,6 +751,9 @@ plist_t tss_request_send(plist_t tss_request, const char* server_url_string) {
} else if (status_code == 100) {
// server error, most likely the request was malformed
break;
+ } else if (status_code == 126) {
+ // An internal error occured, most likely the request was malformed
+ break;
} else {
error("ERROR: tss_send_request: Unhandled status code %d\n", status_code);
}