aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index d65f6aec9..188bf4c9e 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2711,7 +2711,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
conn->protocol |= PROT_FILE;
conn->curl_do = Curl_file;
- /* no done() function */
+ conn->curl_done = Curl_file_done;
/* anyway, this is supposed to be the connect function so we better
at least check that the file is present here! */