From a8cee2df9242ddeab36c5a4e8ddab9f17a452114 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 23:19:08 +0800 Subject: Simplified array's first element's address referral --- rtclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtclient.c') diff --git a/rtclient.c b/rtclient.c index 2d12314..04332c7 100644 --- a/rtclient.c +++ b/rtclient.c @@ -69,7 +69,7 @@ user_callback(void *contents, size_t size, size_t nmemb, void *writedata) { size_t realsize = size * nmemb; char response[realsize + 1]; - memcpy(&response[0], contents, realsize); + memcpy(response, contents, realsize); response[realsize] = '\0'; static const unsigned short nproperties = 24; -- cgit v1.2.3