diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-09-14 10:41:07 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-09-14 10:41:07 +0000 |
commit | 0a2f67737418bd2e484fe4da9107f25753fe96fd (patch) | |
tree | c23615956ae50cb0d6008d4e217042d289fa6a6f | |
parent | 74be53a577e5fefb152312667c9c9f2446ccf11d (diff) |
file:// fix that prevents name lookup and sets no-upload and no-download
-rw-r--r-- | lib/url.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 { |