On Wed, 12 Dec 2012, Mauricio Ramirez wrote:
curl_easy_setopt( curl, CURLOPT_POSTFIELDS, data.c_str() ); curl_easy_setopt( curl, CURLOPT_POSTFIELDSIZE, data.c_str());
... it seems VERY unlikely that your string pointer would be the same as the length of the string... Also make sure that you pass a 'long' to CURLOPT_POSTFIELDSIZE and no other variable type/size.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
