From 23e6b36209fd899161fdac4e365d545ecac8aa2f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 21 Jun 2010 15:41:18 +0200 Subject: poll: Fixed a typo. --- libssh/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh/poll.c') diff --git a/libssh/poll.c b/libssh/poll.c index c50f2ab3..50ce0062 100644 --- a/libssh/poll.c +++ b/libssh/poll.c @@ -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; } -- cgit