diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-02 20:27:30 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-02 20:27:30 +0800 |
commit | e91014fbc56b98d69b612f7a939138127ee21e60 (patch) | |
tree | 9892d09dea4dae09a0489c2d76fc78e0ad2521e4 | |
parent | c4d27915da7677964c84992c1e34c31ad3a281eb (diff) |
Ticket history description is already set in short format
-rw-r--r-- | ticket.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -235,8 +235,6 @@ static size_t history_l_handler(void *contents, size_t size, size_t nmemb strtok_r(line, ":", &tokensaveptr); token = strtok_r(NULL, ":", &tokensaveptr); - ticket_history->description = malloc(strlen(token)); - strcpy(ticket_history->description, ++token); line = strtok_r(NULL, "\n", &linesaveptr); strtok_r(line, ":", &tokensaveptr); |