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

@ -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 */