1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-03 22:13:11 +03:00

Another typo

This commit is contained in:
Sara Golemon
2005-04-01 15:34:14 +00:00
parent 35a3e7a6c0
commit 5d9c0d50f3

View File

@@ -882,7 +882,7 @@ int libssh2_packet_requirev_ex(LIBSSH2_SESSION *session, unsigned char *packet_t
return 0; return 0;
} }
while (session->socket_state == LIBSSH2_SOCKET_DISCONNECTED) { while (session->socket_state != LIBSSH2_SOCKET_DISCONNECTED) {
int ret = libssh2_packet_read(session, 1); int ret = libssh2_packet_read(session, 1);
if (ret < 0) { if (ret < 0) {
return -1; return -1;