diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-06-21 15:41:18 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-06-21 15:41:18 +0200 |
commit | d33a97b6636b9e63437e41d8319c5b21f849d036 (patch) | |
tree | 94d56a159f92727be3152708ca85b7589e41bba9 /libssh/poll.c | |
parent | 6f9fea7fd5b3801231fa1938cead6efab54c5ea9 (diff) | |
download | libssh-d33a97b6636b9e63437e41d8319c5b21f849d036.tar.gz libssh-d33a97b6636b9e63437e41d8319c5b21f849d036.tar.xz libssh-d33a97b6636b9e63437e41d8319c5b21f849d036.zip |
poll: Fixed a typo.
Diffstat (limited to 'libssh/poll.c')
-rw-r--r-- | libssh/poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/poll.c b/libssh/poll.c index 27e7633..dbc2ec1 100644 --- a/libssh/poll.c +++ b/libssh/poll.c @@ -135,7 +135,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; } |