summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-01 22:27:26 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-01 22:27:26 +0800
commitacd42379828decc59f82c297d685561a057e3c9f (patch)
tree2d3f295c335b2a59a900a555ab3ba1cfa6ac06fa
parentda6175baeef79a42783b75cb8cc0b9472f92607c (diff)
Revert "This actually bypassed to the next history"
This reverts commit da6175baeef79a42783b75cb8cc0b9472f92607c.
-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