diff options
Diffstat (limited to 'examples/sshnetcat.c')
-rw-r--r-- | examples/sshnetcat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sshnetcat.c b/examples/sshnetcat.c index 28fb2765..ccc72c86 100644 --- a/examples/sshnetcat.c +++ b/examples/sshnetcat.c @@ -90,6 +90,7 @@ static void select_loop(ssh_session session,ssh_channel channel){ do{ int fd; + ZERO_STRUCT(fds); FD_ZERO(&fds); if(!eof) FD_SET(0,&fds); |