From acd42379828decc59f82c297d685561a057e3c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Tue, 1 Oct 2019 22:27:26 +0800 Subject: Revert "This actually bypassed to the next history" This reverts commit da6175baeef79a42783b75cb8cc0b9472f92607c. --- ticket.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3