fix bool variables checking and assignment
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user