diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-30 19:16:48 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-30 19:16:48 +0800 |
commit | 494a46196ade016b606716b36045f6b08a3234bc (patch) | |
tree | 182bca5df677b004c2f9648eaac34d3744e4e5f8 | |
parent | ad1be67d05d65664c22099ada17351a78e1fd27b (diff) |
Include partial content
-rw-r--r-- | ticket.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -181,14 +181,12 @@ static size_t history_handler(void *contents, size_t size, size_t nmemb #endif } else if (!strcmp(token, "Content")) { token = strtok_r(NULL, ":", &tokensaveptr); -#ifdef DEBUG - printf("Content Token: %s\n", token); -#endif - /* ticket_history->content = malloc(strlen(token)); strcpy(ticket_history->content, ++token); - */ +#ifdef DEBUG + printf("Content: %s\n", token); +#endif } else if (!strcmp(token, "Creator")) { token = strtok_r(NULL, ":", &tokensaveptr); ticket_history->creator |