diff options
author | Nikias Bassen | 2012-02-12 17:26:49 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-12 17:26:49 +0100 |
commit | d1d6ae43f582262abee64b14c40fb6d08e9449be (patch) | |
tree | 0ee6d7d2c38fbb4d2c0b4f237274b3681a28d4da | |
parent | 6fb230f561264d37003c692e077b63adb6dd6d97 (diff) | |
download | idevicerestore-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...
-rw-r--r-- | src/tss.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); } |