mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:53:43 +03:00
fix bool variables checking and assignment
This commit is contained in:
parent
eb44ac0138
commit
a50210710a
23 changed files with 128 additions and 129 deletions
|
|
@ -1273,7 +1273,7 @@ static size_t readfromfile(struct Form *form, char *buffer,
|
|||
size_t size)
|
||||
{
|
||||
size_t nread;
|
||||
bool callback = (bool)(form->data->type == FORM_CALLBACK);
|
||||
bool callback = (form->data->type == FORM_CALLBACK)?TRUE:FALSE;
|
||||
|
||||
if(callback) {
|
||||
if(form->fread_func == ZERO_NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue