1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-24 19:37:48 +03:00

torture: Fixed fd check.

This commit is contained in:
Andreas Schneider
2010-06-17 13:38:13 +02:00
parent 8be7ece1f5
commit 937268eb3e

View File

@@ -82,7 +82,7 @@ START_TEST (torture_options_set_fd)
rc = ssh_options_set(session, SSH_OPTIONS_FD, NULL);
ck_assert(rc == 0);
ck_assert(session->fd == -1);
ck_assert(session->fd == SSH_INVALID_SOCKET);
}
END_TEST