diff options
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; |