summaryrefslogtreecommitdiffstats
path: root/src/tss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tss.c')
-rw-r--r--src/tss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index bf6ba51..d7c850d 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -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);