diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-02 18:43:40 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-02 18:43:40 +0800 |
commit | fb7fb662ca7005f294846c29cb936a61011336bc (patch) | |
tree | bea7ef9900645693caac28576a554fce63b93fc1 | |
parent | 406cd1b125ff87cd70c8287490331c9610b23462 (diff) |
Fix ticket history ID setting
-rw-r--r-- | ticket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |