diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-06 20:56:36 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-06 20:56:36 +0800 |
commit | abaaef65e251fe5c39f01349e172e7d85c8d6788 (patch) | |
tree | 059d804ae639f1305a53f9a3f95cc9adf7daf994 /search.c | |
parent | ee08b2235cf2fefdb48eafde9990babaca4b4495 (diff) |
Simplify some content of pointer syntax
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,9 +31,9 @@ static size_t ticket_handler(void *contents, size_t size, size_t nmemb } } while ((line = strtok(NULL, "\n"))); - *listptr = realloc(*listptr, sizeof(rtclient_search_ticket_list) + *listptr = realloc(list, sizeof(rtclient_search_ticket_list) + list->length * sizeof(rtclient_ticket)); - rtclient_search_ticket_list *list = *listptr; + list = *listptr; char *linesaveptr = NULL; line = strtok_r(lines, "\n", &linesaveptr); |