From 0a2f67737418bd2e484fe4da9107f25753fe96fd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 14 Sep 2000 10:41:07 +0000 Subject: file:// fix that prevents name lookup and sets no-upload and no-download --- lib/url.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/url.c') 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 { -- cgit v1.2.3