curlm must exist for this function to work, so remove the test.

Only and active Ecore_Con_Url is registered with curlm.


SVN revision: 15528
This commit is contained in:
sebastid 2005-06-24 15:01:59 +00:00 committed by sebastid
parent d233c9ca43
commit ee61e32cbd
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ ecore_con_url_destroy(Ecore_Con_Url *url_con)
ecore_main_fd_handler_del(url_con->fd_handler);
if (url_con->curl_easy)
{
if (curlm)
if (url_con->active)
curl_multi_remove_handle(curlm, url_con->curl_easy);
curl_easy_cleanup(url_con->curl_easy);
}