diff options
-rw-r--r-- | rtclient.c | 2 | ||||
-rw-r--r-- | test.c | 2 |
2 files changed, 2 insertions, 2 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; @@ -37,7 +37,7 @@ int main(void) , user->city, user->state, user->zip, user->country , user->homephone, user->workphone, user->mobilephone , user->pagerphone, user->contactinfo, user->comments - , user->signature, &user->lang[0], user->privileged + , user->signature, user->lang, user->privileged , user->disabled); free(name); if (user) |