by the power of greyskull^Wunsigned integers, this test will always be true!

SVN revision: 66463
This commit is contained in:
Mike Blumenkrantz 2011-12-22 08:08:05 +00:00
parent 3258503e8a
commit 9aedbc1bfb
1 changed files with 1 additions and 1 deletions

View File

@ -1109,7 +1109,7 @@ ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy)
// before curl version 7.21.7, socks protocol:// prefix is not supported
// (e.g. socks4://, socks4a://, socks5:// or socks5h://, etc.)
vers = curl_version_info(CURLVERSION_NOW);
if (vers->age >=0 && vers->version_num < 0x71507)
if (vers->version_num < 0x71507)
{
url_con->proxy_type = CURLPROXY_HTTP;
if (strstr(proxy, "socks4")) url_con->proxy_type = CURLPROXY_SOCKS4;