From bb31d3a1bbe0eb9dc3982736567c36d3cd70dd84 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Thu, 22 Dec 2011 08:08:05 +0000 Subject: [PATCH] by the power of greyskull^Wunsigned integers, this test will always be true! git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@66463 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con_url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_con/ecore_con_url.c b/src/lib/ecore_con/ecore_con_url.c index 8ccc48e..c250e84 100644 --- a/src/lib/ecore_con/ecore_con_url.c +++ b/src/lib/ecore_con/ecore_con_url.c @@ -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; -- 2.7.4