diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-08 16:32:29 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-08 16:32:29 +0800 |
commit | 244a0959705dbbef1ad3741ed0ae4edba81f1480 (patch) | |
tree | 7ceb7e90402cd4fcdc4c3d46ec05c8ebbfdb0d28 | |
parent | 7b649aee5d672b791b33a93a6dc9730c22e88068 (diff) |
When all RT user fields are filled, we will get 24
-rw-r--r-- | rtclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ user_callback(void *contents, size_t size, size_t nmemb, void *writedata) char response[realsize + 1]; memcpy(&response[0], contents, realsize); response[realsize] = '\0'; - char *lines[21]; + char *lines[24]; char *line = strtok(response, "\n"); if (strstr(line, "200 Ok")) { rt_user *user = (rt_user *)writedata; |