Index: lib/url.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/url.c,v
retrieving revision 1.439
diff -u -r1.439 url.c
--- lib/url.c	16 Jan 2005 08:51:52 -0000	1.439
+++ lib/url.c	18 Jan 2005 19:24:46 -0000
@@ -2439,6 +2439,7 @@
       return CURLE_OUT_OF_MEMORY;
   }
 
+#ifndef CURL_DISABLE_HTTP
   /*************************************************************
    * Detect what (if any) proxy to use
    *************************************************************/
@@ -2603,6 +2604,7 @@
     if(no_proxy)
       free(no_proxy);
   } /* if not using proxy */
+#endif
 
   /*************************************************************
    * No protocol part in URL was used, add it!
