From da6175baeef79a42783b75cb8cc0b9472f92607c Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ Date: Tue, 1 Oct 2019 22:11:53 +0800 Subject: This actually bypassed to the next history which is not what we want --- ticket.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ticket.c b/ticket.c index 161f079..e15d1ce 100644 --- a/ticket.c +++ b/ticket.c @@ -166,8 +166,6 @@ 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 -- cgit v1.3