diff options
author | Martin Szulecki | 2012-07-17 18:59:28 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 18:59:28 +0200 |
commit | b32de647e7942147a64b55df1b4e9fc331119ef4 (patch) | |
tree | 772971564c7ccb653e05ccf239f542a94d99197c /src/tss.c | |
parent | 75af79094956025f04fc55b0470bb4f4d875a64a (diff) | |
download | idevicerestore-b32de647e7942147a64b55df1b4e9fc331119ef4.tar.gz idevicerestore-b32de647e7942147a64b55df1b4e9fc331119ef4.tar.bz2 |
tss: Do not output "MESSAGE=" prefix of TSS server error messages
Diffstat (limited to 'src/tss.c')
-rw-r--r-- | src/tss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -387,7 +387,7 @@ plist_t tss_send_request(plist_t tss_request) { } if (status_code != 0) { - char* message = strstr(response->content, "MESSAGE="); + char* message = strstr(response->content, "MESSAGE=") + strlen("MESSAGE="); error("ERROR: TSS request failed (status=%d, message=%s)\n", status_code, message); free(response->content); free(response); |