mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:03:33 +03:00
lib: use bool/TRUE/FALSE properly
booleans should use the type 'bool' and set the value to TRUE/FALSE non-booleans should not be 'bool' and should not set the value to TRUE/FALSE Closes #15123
This commit is contained in:
parent
78ed473dbc
commit
bcec0840b0
44 changed files with 222 additions and 222 deletions
|
|
@ -993,11 +993,11 @@ static int push_promise(struct Curl_cfilter *cf,
|
|||
}
|
||||
DEBUGASSERT(stream);
|
||||
|
||||
Curl_set_in_callback(data, true);
|
||||
Curl_set_in_callback(data, TRUE);
|
||||
rv = data->multi->push_cb(data, newhandle,
|
||||
stream->push_headers_used, &heads,
|
||||
data->multi->push_userp);
|
||||
Curl_set_in_callback(data, false);
|
||||
Curl_set_in_callback(data, FALSE);
|
||||
|
||||
/* free the headers again */
|
||||
free_push_headers(stream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue