aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-09-14 10:41:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-09-14 10:41:07 +0000
commit0a2f67737418bd2e484fe4da9107f25753fe96fd (patch)
treec23615956ae50cb0d6008d4e217042d289fa6a6f
parent74be53a577e5fefb152312667c9c9f2446ccf11d (diff)
file:// fix that prevents name lookup and sets no-upload and no-download
-rw-r--r--lib/url.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index cc123fee4..4b67717a9 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1018,6 +1018,11 @@ CURLcode curl_connect(CURL *curl, CURLconnect **in_connect)
conn->curl_do = file;
/* no done() function */
+
+ result = Transfer(conn, -1, -1, FALSE, NULL, /* no download */
+ -1, NULL); /* no upload */
+
+ return CURLE_OK;
}
else {