summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ticket.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ticket.c b/ticket.c
index b113d78..05c6b54 100644
--- a/ticket.c
+++ b/ticket.c
@@ -181,14 +181,12 @@ static size_t history_handler(void *contents, size_t size, size_t nmemb
#endif
} else if (!strcmp(token, "Content")) {
token = strtok_r(NULL, ":", &tokensaveptr);
-#ifdef DEBUG
- printf("Content Token: %s\n", token);
-#endif
- /*
ticket_history->content
= malloc(strlen(token));
strcpy(ticket_history->content, ++token);
- */
+#ifdef DEBUG
+ printf("Content: %s\n", token);
+#endif
} else if (!strcmp(token, "Creator")) {
token = strtok_r(NULL, ":", &tokensaveptr);
ticket_history->creator