summaryrefslogtreecommitdiff
path: root/rtclient.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-08 16:32:29 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-08 16:32:29 +0800
commit244a0959705dbbef1ad3741ed0ae4edba81f1480 (patch)
tree7ceb7e90402cd4fcdc4c3d46ec05c8ebbfdb0d28 /rtclient.c
parent7b649aee5d672b791b33a93a6dc9730c22e88068 (diff)
When all RT user fields are filled, we will get 24
Diffstat (limited to 'rtclient.c')
-rw-r--r--rtclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtclient.c b/rtclient.c
index 44088ec..d8b8003 100644
--- a/rtclient.c
+++ b/rtclient.c
@@ -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;