try and fix post with null data?

SVN revision: 63956
This commit is contained in:
Carsten Haitzler 2011-10-10 09:37:30 +00:00
parent e5756206b7
commit 11917747d0
1 changed files with 4 additions and 0 deletions

View File

@ -690,6 +690,10 @@ _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 if (mode == MODE_POST)
{
curl_easy_setopt(url_con->curl_easy, CURLOPT_POST, 1);
}
}
switch (url_con->time_condition)