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:
Daniel Stenberg 2019-10-03 14:29:57 +02:00
parent 8a00560de2
commit 249541f12f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 4 additions and 4 deletions

View file

@ -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) {