* fix compilation when curl is not available

* small formatting


SVN revision: 41968
This commit is contained in:
Vincent Torri 2009-08-25 06:45:35 +00:00
parent d7bbc05b12
commit e005dd2479
1 changed files with 6 additions and 1 deletions

View File

@ -593,8 +593,9 @@ ecore_con_url_received_bytes_get(Ecore_Con_Url *url_con)
}
return url_con->received;
#endif
#else
return 0;
#endif
}
/**
@ -613,7 +614,11 @@ ecore_con_url_received_bytes_get(Ecore_Con_Url *url_con)
EAPI const Eina_List *
ecore_con_url_response_headers_get(Ecore_Con_Url *url_con)
{
#ifdef HAVE_CURL
return url_con->response_headers;
#else
return NULL;
#endif
}
/**