summaryrefslogtreecommitdiffstats
path: root/src/tss.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-12 17:26:49 +0100
committerGravatar Nikias Bassen2012-02-12 17:26:49 +0100
commitd1d6ae43f582262abee64b14c40fb6d08e9449be (patch)
tree0ee6d7d2c38fbb4d2c0b4f237274b3681a28d4da /src/tss.c
parent6fb230f561264d37003c692e077b63adb6dd6d97 (diff)
downloadidevicerestore-d1d6ae43f582262abee64b14c40fb6d08e9449be.tar.gz
idevicerestore-d1d6ae43f582262abee64b14c40fb6d08e9449be.tar.bz2
tss: handle status code 100 (internal server error)
this usually means the request sent was not in proper format or missing a value or a value has invalid format or whatever...
Diffstat (limited to 'src/tss.c')
-rw-r--r--src/tss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tss.c b/src/tss.c
index 72c0cf2..7a0b5cd 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -231,6 +231,9 @@ plist_t tss_send_request(plist_t tss_request) {
} else if (status_code == 94) {
// This device isn't eligible for the requested build.
break;
+ } else if (status_code == 100) {
+ // server error, most likely the request was malformed
+ break;
} else {
error("ERROR: tss_send_request: Unhandled status code %d\n", status_code);
}