1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-05-28 17:41:28 +03:00

tests: Fix a valgrind warning.

This commit is contained in:
Andreas Schneider 2013-11-27 17:55:48 +01:00
parent 7ecdc3e0d5
commit 060171028c

View File

@ -20,6 +20,7 @@ static void torture_channel_select(void **state)
fd = open("/dev/null", 0);
assert_true(fd > 2);
FD_ZERO(&readfds);
FD_SET(fd, &readfds);
for (i = 0; i < 10; i++) {