aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-24 17:23:01 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-24 17:23:01 +0000
commit2bd1d7e996e8c781f14af8d3e7d0ffbd4033d5f1 (patch)
tree46cb48fb167f34a3c4239f0e999db8a525e0479f /lib/url.c
parent3b355421ecb7b1bb8defd2c0ba94db9b35c8b619 (diff)
Fixed a couple of compile problems.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 5a882a3b4..d11ebd3a0 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3430,6 +3430,7 @@ else {
/***********************************************************************
* file: is a special case in that it doesn't need a network connection
***********************************************************************/
+#ifndef CURL_DISABLE_FILE
if (strequal(conn->protostr, "FILE")) {
/* anyway, this is supposed to be the connect function so we better
at least check that the file is present here! */
@@ -3447,6 +3448,7 @@ else {
return result;
}
+#endif
/*************************************************************
* If the protocol is using SSL and HTTP proxy is used, we set