diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-08 23:19:08 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-08 23:19:08 +0800 |
commit | a8cee2df9242ddeab36c5a4e8ddab9f17a452114 (patch) | |
tree | 7617ece6025b04e9172355c39acc261c6e0875ae /rtclient.c | |
parent | f81ab4be0a216ca2ffbe34e8f2821589b91a0399 (diff) |
Simplified array's first element's address referral
Diffstat (limited to 'rtclient.c')
-rw-r--r-- | rtclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |