2005-05-11 Marcus Brinkmann <marcus@g10code.de>

* w32-io.c (_gpgme_io_select): Fix loop increment.
This commit is contained in:
Marcus Brinkmann 2005-05-11 12:48:55 +00:00
parent 1184d349cd
commit bd44798c95
2 changed files with 5 additions and 1 deletions

View 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> 2005-05-05 Marcus Brinkmann <marcus@g10code.de>
* data-user.c (user_release): Only call user hook if provided. * data-user.c (user_release): Only call user hook if provided.

View 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]); int k, j = handle_to_fd (waitbuf[i]);
DEBUG1 ("WFMO invalid handle %d removed\n", j); 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 ) { if ( fds[k].fd == j ) {
fds[k].for_read = fds[k].for_write = 0; fds[k].for_read = fds[k].for_write = 0;
goto restart; goto restart;