mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
libssh: part of conditional expression is always true: !result
PVS-Studio warning Fixed #4402
This commit is contained in:
parent
b7e872ac17
commit
9aed993da0
@ -1999,7 +1999,7 @@ static CURLcode myssh_block_statemach(struct connectdata *conn,
|
||||
}
|
||||
}
|
||||
|
||||
if(!result && block) {
|
||||
if(block) {
|
||||
curl_socket_t fd_read = conn->sock[FIRSTSOCKET];
|
||||
/* wait for the socket to become ready */
|
||||
(void) Curl_socket_check(fd_read, CURL_SOCKET_BAD,
|
||||
|
Loading…
Reference in New Issue
Block a user