if data is NULL for curl... make postfieldsize 0.
SVN revision: 55583
This commit is contained in:
parent
daafe9ee79
commit
d19ff43b6e
|
@ -860,6 +860,8 @@ ecore_con_url_send(Ecore_Con_Url *url_con,
|
|||
curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDS, data);
|
||||
curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDSIZE, length);
|
||||
}
|
||||
else
|
||||
curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDSIZE, 0);
|
||||
|
||||
switch (url_con->time_condition)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue