From fb7fb662ca7005f294846c29cb936a61011336bc 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: Wed, 2 Oct 2019 18:43:40 +0800 Subject: Fix ticket history ID setting --- ticket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ticket.c b/ticket.c index 2e6384a..7440693 100644 --- a/ticket.c +++ b/ticket.c @@ -75,7 +75,7 @@ static size_t history_handler(void *contents, size_t size, size_t nmemb = list->histories[i]; token = strtok_r(line, ":", &tokensaveptr); - ticket_history->id = atoi(++token); + ticket_history->id = atoi(token); ticket_history->ticket = 0; ticket_history->time_taken = 0; -- cgit v1.2.3