From 244a0959705dbbef1ad3741ed0ae4edba81f1480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sun, 8 Sep 2019 16:32:29 +0800 Subject: When all RT user fields are filled, we will get 24 --- rtclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3