mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
cookies: change argument type for Curl_flush_cookies
The second argument is really a 'bool' so use that and pass in TRUE/FALSE to make it clear. Closes #4455
This commit is contained in:
parent
8a00560de2
commit
249541f12f
4 changed files with 4 additions and 4 deletions
|
|
@ -752,7 +752,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
}
|
||||
else if(strcasecompare(argptr, "FLUSH")) {
|
||||
/* flush cookies to file, takes care of the locking */
|
||||
Curl_flush_cookies(data, 0);
|
||||
Curl_flush_cookies(data, FALSE);
|
||||
}
|
||||
else if(strcasecompare(argptr, "RELOAD")) {
|
||||
/* reload cookies from file */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue