[88045] trunk/base/src/pextlib1.0/curl.c

jmr at macports.org jmr at macports.org
Fri Dec 16 21:35:24 PST 2011


Revision: 88045
          http://trac.macports.org/changeset/88045
Author:   jmr at macports.org
Date:     2011-12-16 21:35:20 -0800 (Fri, 16 Dec 2011)
Log Message:
-----------
check for full range of affected libcurl versions for FTP_PROXY workaround

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/curl.c

Modified: trunk/base/src/pextlib1.0/curl.c
===================================================================
--- trunk/base/src/pextlib1.0/curl.c	2011-12-17 04:06:43 UTC (rev 88044)
+++ trunk/base/src/pextlib1.0/curl.c	2011-12-17 05:35:20 UTC (rev 88045)
@@ -237,7 +237,7 @@
 			break;
 		}
 
-#if LIBCURL_VERSION_NUM == 0x071307
+#if LIBCURL_VERSION_NUM >= 0x071304 && LIBCURL_VERSION_NUM <= 0x071307
         /* FTP_PROXY workaround for Snow Leopard */
         if (strncmp(theURL, "ftp:", 4) == 0) {
             char *ftp_proxy = getenv("FTP_PROXY");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111216/ed9928a4/attachment.html>


More information about the macports-changes mailing list