summaryrefslogtreecommitdiff
path: root/ticket.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-02 18:43:40 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-02 18:43:40 +0800
commitfb7fb662ca7005f294846c29cb936a61011336bc (patch)
treebea7ef9900645693caac28576a554fce63b93fc1 /ticket.c
parent406cd1b125ff87cd70c8287490331c9610b23462 (diff)
Fix ticket history ID setting
Diffstat (limited to 'ticket.c')
-rw-r--r--ticket.c2
1 files changed, 1 insertions, 1 deletions
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;