From: Daniel Stenberg Date: Thu, 14 Sep 2000 10:41:07 +0000 (+0000) Subject: file:// fix that prevents name lookup and sets no-upload and no-download X-Git-Tag: curl-7_3~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a2f67737418bd2e484fe4da9107f25753fe96fd;p=thirdparty%2Fcurl.git file:// fix that prevents name lookup and sets no-upload and no-download --- diff --git a/lib/url.c b/lib/url.c index cc123fee4e..4b67717a95 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 {