http: fix build with CURL_DISABLE_COOKIES

This fixes an oversight from commit fc3e1cbc50.

Closes https://github.com/curl/curl/pull/15820
This commit is contained in:
Marcel Raad 2024-12-23 18:34:17 +01:00
parent 770835c175
commit 826727bfeb
No known key found for this signature in database
GPG key ID: 33C416EFAE4D6F02
2 changed files with 2 additions and 7 deletions

View file

@ -2154,6 +2154,8 @@ static CURLcode http_cookies(struct Curl_easy *data,
}
return result;
}
#else
#define http_cookies(a,b,c) CURLE_OK
#endif
static CURLcode http_range(struct Curl_easy *data,