mirror of
https://github.com/curl/curl.git
synced 2026-07-27 01:27:15 +03:00
checksrc: ensure using ifdef/ifndef when possible, fix fallouts
Follow-up to 89771d19d5 #18018
Closes #20065
This commit is contained in:
parent
e8415a8296
commit
4ad87f2cb8
9 changed files with 30 additions and 11 deletions
|
|
@ -521,7 +521,7 @@ static CURLcode setopt_bool(struct Curl_easy *data, CURLoption option,
|
|||
case CURLOPT_HTTP09_ALLOWED:
|
||||
s->http09_allowed = enabled;
|
||||
break;
|
||||
#if !defined(CURL_DISABLE_COOKIES)
|
||||
#ifndef CURL_DISABLE_COOKIES
|
||||
case CURLOPT_COOKIESESSION:
|
||||
/*
|
||||
* Set this option to TRUE to start a new "cookie session". It will
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue