diff options
Diffstat (limited to 'src/poll.c')
-rw-r--r-- | src/poll.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -170,8 +170,11 @@ static int bsd_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout) return -1; } + ZERO_STRUCT(readfds); FD_ZERO(&readfds); + ZERO_STRUCT(writefds); FD_ZERO(&writefds); + ZERO_STRUCT(exceptfds); FD_ZERO(&exceptfds); /* compute fd_sets and find largest descriptor */ |