aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 2ea07592d..abcba2fcd 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -1714,8 +1714,9 @@ CURLcode Curl_pretransfer(struct SessionHandle *data)
data->state.authproxy.want = data->set.proxyauth;
/* If there is a list of cookie files to read, do it now! */
- if(data->change.cookielist)
+ if(data->change.cookielist) {
Curl_cookie_loadfiles(data);
+ }
/* Allow data->set.use_port to set which port to use. This needs to be
* disabled for example when we follow Location: headers to URLs using