summaryrefslogtreecommitdiff
path: root/ticket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ticket.c')
-rw-r--r--ticket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ticket.c b/ticket.c
index e15d1ce..161f079 100644
--- a/ticket.c
+++ b/ticket.c
@@ -166,6 +166,8 @@ static size_t history_handler(void *contents, size_t size, size_t nmemb
strcpy(ticket_history->content, ++token);
while ((line = strtok_r(NULL, "\n"
, &linesaveptr))) {
+ if (!strncmp(line, "Creator", 7))
+ break;
char *ptr = realloc(ticket_history
->content
, strlen