2005-05-11 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 11 May 2005 12:48:55 +0000 (12:48 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 11 May 2005 12:48:55 +0000 (12:48 +0000)
* w32-io.c (_gpgme_io_select): Fix loop increment.

trunk/gpgme/ChangeLog
trunk/gpgme/w32-io.c

index 98f81a022d754fe501e1e72460704beb293affdd..dadf512d322bbbde724a99ebde6407275ee912a7 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-11  Marcus Brinkmann  <marcus@g10code.de>
+
+       * w32-io.c (_gpgme_io_select): Fix loop increment.
+
 2005-05-05  Marcus Brinkmann  <marcus@g10code.de>
 
        * data-user.c (user_release): Only call user hook if provided.
index 4e62aaf18377905822c8aea068df1bc3d0ca0883..431acbe92dc12ddb5081e2b5350f268f70e21eb5 100644 (file)
@@ -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;