OAUTH2_LOG_E("fread() Fail(%d)", ret);
return 0;
}
-
+ smack_label[ret] = '\0';
snprintf(uid, sizeof(uid), "%d", getuid());
ret = cynara_check(cynara_h, smack_label, "", uid, INTERNET_PRIVILEGE);
curl_easy_setopt(mgr_handle->curl_handle, CURLOPT_POSTFIELDS,
post_body);
char *data = NULL;
- curl_easy_setopt(mgr_handle->curl_handle, CURLOPT_WRITEDATA, &data);
+ curl_easy_setopt(mgr_handle->curl_handle, CURLOPT_WRITEDATA, data);
curl_easy_setopt(mgr_handle->curl_handle, CURLOPT_WRITEFUNCTION,
__store_curl_response);
curl_easy_setopt(mgr_handle->curl_handle, CURLOPT_SSL_VERIFYPEER,