diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-06 20:33:46 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-06 20:33:46 +0800 |
commit | 683b27bfbae3be046e8d9c559ee74872ede1ee14 (patch) | |
tree | 73163967bcfc94e0e72c2effed92d747ad8643a9 | |
parent | 601251148de5bd8a42649e3b888d7824eb1d7743 (diff) |
Use the size of an empty ticket list as offset
-rw-r--r-- | search.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ static size_t ticket_handler(void *contents, size_t size, size_t nmemb } while ((line = strtok(NULL, "\n"))); rtclient_search_ticket_list *ptr = realloc(*listptr - , sizeof(*listptr) + , sizeof(rtclient_search_ticket_list) + (*listptr)->length * sizeof(rtclient_ticket)); *listptr = ptr; rtclient_search_ticket_list *list = *listptr; |