Another typo
This commit is contained in:
parent
35a3e7a6c0
commit
5d9c0d50f3
@ -882,7 +882,7 @@ int libssh2_packet_requirev_ex(LIBSSH2_SESSION *session, unsigned char *packet_t
|
||||
return 0;
|
||||
}
|
||||
|
||||
while (session->socket_state == LIBSSH2_SOCKET_DISCONNECTED) {
|
||||
while (session->socket_state != LIBSSH2_SOCKET_DISCONNECTED) {
|
||||
int ret = libssh2_packet_read(session, 1);
|
||||
if (ret < 0) {
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user