mirror of
https://github.com/curl/curl.git
synced 2026-05-30 05:47:28 +03:00
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:
parent
770835c175
commit
826727bfeb
2 changed files with 2 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -82,13 +82,6 @@ CURLcode Curl_dynhds_add_custom(struct Curl_easy *data, bool is_connect,
|
|||
|
||||
void Curl_http_method(struct Curl_easy *data, struct connectdata *conn,
|
||||
const char **method, Curl_HttpReq *);
|
||||
#ifndef CURL_DISABLE_COOKIES
|
||||
CURLcode Curl_http_cookies(struct Curl_easy *data,
|
||||
struct connectdata *conn,
|
||||
struct dynbuf *r);
|
||||
#else
|
||||
#define Curl_http_cookies(a,b,c) CURLE_OK
|
||||
#endif
|
||||
|
||||
/* protocol-specific functions set up to be called by the main engine */
|
||||
CURLcode Curl_http_setup_conn(struct Curl_easy *data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue