mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:33:36 +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
|
|
@ -1617,7 +1617,7 @@ struct curl_slist *Curl_cookie_list(struct Curl_easy *data)
|
|||
return list;
|
||||
}
|
||||
|
||||
void Curl_flush_cookies(struct Curl_easy *data, int cleanup)
|
||||
void Curl_flush_cookies(struct Curl_easy *data, bool cleanup)
|
||||
{
|
||||
if(data->set.str[STRING_COOKIEJAR]) {
|
||||
if(data->change.cookielist) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue