mirror of
https://github.com/curl/curl.git
synced 2026-07-28 21:53:06 +03:00
easy/transfer: fix cookie-disabled build
Follow-up from 45de940ceb
Reported-by: Marcel Raad
Fixes #8953
Closes #8954
This commit is contained in:
parent
07a9b89fed
commit
2bd75e5686
2 changed files with 6 additions and 1 deletions
|
|
@ -1422,10 +1422,11 @@ CURLcode Curl_pretransfer(struct Curl_easy *data)
|
|||
else
|
||||
data->state.infilesize = 0;
|
||||
|
||||
#ifndef CURL_DISABLE_COOKIES
|
||||
/* If there is a list of cookie files to read, do it now! */
|
||||
if(data->state.cookielist)
|
||||
Curl_cookie_loadfiles(data);
|
||||
|
||||
#endif
|
||||
/* If there is a list of host pairs to deal with */
|
||||
if(data->state.resolve)
|
||||
result = Curl_loadhostpairs(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue