mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:43:33 +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
|
|
@ -2500,7 +2500,7 @@ static CURLcode ssh_multi_statemach(struct connectdata *conn, bool *done)
|
|||
implementation */
|
||||
|
||||
result = ssh_statemach_act(conn, &block);
|
||||
*done = (bool)(sshc->state == SSH_STOP);
|
||||
*done = (sshc->state == SSH_STOP) ? TRUE : FALSE;
|
||||
ssh_block2waitfor(conn, block);
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue