poll: Fixed a typo.

This commit is contained in:
Andreas Schneider
2010-06-21 15:41:18 +02:00
parent 541b38b772
commit 23e6b36209

View File

@@ -110,7 +110,7 @@ static int bsd_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout) {
FD_ZERO (&exceptfds);
/* compute fd_sets and find largest descriptor */
for (rc = -1; max_fd = 0, i = 0; i < nfds; i++) {
for (rc = -1, max_fd = 0, i = 0; i < nfds; i++) {
if (fds[i].fd == SSH_INVALID_SOCKET) {
continue;
}