mirror of
https://github.com/curl/curl.git
synced 2026-07-23 22:47:23 +03:00
lib1560: replace an int with bool
Follow-up to 7d1ca2e7e1 #17933
Closes #18064
This commit is contained in:
parent
577ec09412
commit
81f5991e14
1 changed files with 4 additions and 4 deletions
|
|
@ -1428,7 +1428,7 @@ static int set_url(void)
|
|||
2. Set one or more parts
|
||||
3. Extract and compare all parts - not the URL
|
||||
*/
|
||||
static int setget_parts(int has_utf8)
|
||||
static int setget_parts(bool has_utf8)
|
||||
{
|
||||
int i;
|
||||
int error = 0;
|
||||
|
|
@ -1531,7 +1531,7 @@ static int set_parts(void)
|
|||
return error;
|
||||
}
|
||||
|
||||
static int get_url(int has_utf8)
|
||||
static int get_url(bool has_utf8)
|
||||
{
|
||||
int i;
|
||||
int error = 0;
|
||||
|
|
@ -1574,7 +1574,7 @@ static int get_url(int has_utf8)
|
|||
return error;
|
||||
}
|
||||
|
||||
static int get_parts(int has_utf8)
|
||||
static int get_parts(bool has_utf8)
|
||||
{
|
||||
int i;
|
||||
int error = 0;
|
||||
|
|
@ -2030,7 +2030,7 @@ err:
|
|||
|
||||
static CURLcode test_lib1560(char *URL)
|
||||
{
|
||||
int has_utf8 = !!getenv("CURL_TEST_HAVE_CODESET_UTF8");
|
||||
bool has_utf8 = !!getenv("CURL_TEST_HAVE_CODESET_UTF8");
|
||||
|
||||
(void)URL; /* not used */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue