summaryrefslogtreecommitdiff
path: root/ticket.c
diff options
context:
space:
mode:
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;