by the power of greyskull^Wunsigned integers, this test will always be true!
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 22 Dec 2011 08:08:05 +0000 (08:08 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 22 Dec 2011 08:08:05 +0000 (08:08 +0000)
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

index 8ccc48e..c250e84 100644 (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;