From: Marcus Brinkmann Date: Wed, 11 May 2005 12:48:55 +0000 (+0000) Subject: 2005-05-11 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~326 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=40b9f0c397679bf4450fc23193294ad538d9726c;p=gpgme.git 2005-05-11 Marcus Brinkmann * w32-io.c (_gpgme_io_select): Fix loop increment. --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 98f81a0..dadf512 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,7 @@ +2005-05-11 Marcus Brinkmann + + * w32-io.c (_gpgme_io_select): Fix loop increment. + 2005-05-05 Marcus Brinkmann * data-user.c (user_release): Only call user hook if provided. diff --git a/trunk/gpgme/w32-io.c b/trunk/gpgme/w32-io.c index 4e62aaf..431acbe 100644 --- a/trunk/gpgme/w32-io.c +++ b/trunk/gpgme/w32-io.c @@ -1085,7 +1085,7 @@ _gpgme_io_select ( struct io_select_fd_s *fds, size_t nfds, int nonblock ) int k, j = handle_to_fd (waitbuf[i]); DEBUG1 ("WFMO invalid handle %d removed\n", j); - for (k=0 ; k < nfds; i++ ) { + for (k=0 ; k < nfds; k++ ) { if ( fds[k].fd == j ) { fds[k].for_read = fds[k].for_write = 0; goto restart;