mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
headers.h: make Curl_headers_push() be CURLE_OK when not built
... to avoid errors when the function isn't there. Reported-by: Marcel Raad Fixes #8627 Closes #8628
This commit is contained in:
parent
8e22fc68e7
commit
c2610db63e
@ -46,7 +46,7 @@ CURLcode Curl_headers_push(struct Curl_easy *data, const char *header,
|
||||
CURLcode Curl_headers_cleanup(struct Curl_easy *data);
|
||||
|
||||
#else
|
||||
#define Curl_headers_push(x,y,z) CURLE_NOT_BUILT_IN
|
||||
#define Curl_headers_push(x,y,z) CURLE_OK
|
||||
#define Curl_headers_cleanup(x) Curl_nop_stmt
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user