diff options
author | Martin Szulecki | 2014-10-28 12:52:25 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-10-28 12:52:25 +0100 |
commit | fbe865faa351e8b8622c0627d03d5fb56380ff7c (patch) | |
tree | 75277801f91596fc1427ccf0920e6d8d6dd99f43 /src | |
parent | 40fa8a1822b5994ae388755c9ad6d73cf3adbeac (diff) | |
download | idevicerestore-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); } |