summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-02 20:32:33 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-02 20:32:33 +0800
commit601251148de5bd8a42649e3b888d7824eb1d7743 (patch)
tree069447fd2f2c0fbd468e471df207a5b58ffda6f1
parente91014fbc56b98d69b612f7a939138127ee21e60 (diff)
No need to traverse the description again
-rw-r--r--ticket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ticket.c b/ticket.c
index 88da33c..96c57ca 100644
--- a/ticket.c
+++ b/ticket.c
@@ -233,8 +233,6 @@ static size_t history_l_handler(void *contents, size_t size, size_t nmemb
}
line = strtok_r(NULL, "\n", &linesaveptr);
- strtok_r(line, ":", &tokensaveptr);
- token = strtok_r(NULL, ":", &tokensaveptr);
line = strtok_r(NULL, "\n", &linesaveptr);
strtok_r(line, ":", &tokensaveptr);