diff options
Diffstat (limited to 'src/lib/eventloop.c')
-rw-r--r-- | src/lib/eventloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index be76dddb..f0a1f87c 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -438,7 +438,7 @@ gnunet_gtk_select (void *cls, struct GNUNET_NETWORK_FDSet *rfds, | |||
438 | { | 438 | { |
439 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 439 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
440 | "Adding the pipe's 0x%x overlapped event to the array as %d\n", | 440 | "Adding the pipe's 0x%x overlapped event to the array as %d\n", |
441 | fh->h, nhandles); | 441 | fh->h, fd_counter); |
442 | ml->cached_poll_array[fd_counter].fd = | 442 | ml->cached_poll_array[fd_counter].fd = |
443 | (intptr_t) fh->oOverlapRead->hEvent; | 443 | (intptr_t) fh->oOverlapRead->hEvent; |
444 | /* On W32 .events makes no sense - g_poll will just OR its | 444 | /* On W32 .events makes no sense - g_poll will just OR its |
@@ -464,7 +464,7 @@ gnunet_gtk_select (void *cls, struct GNUNET_NETWORK_FDSet *rfds, | |||
464 | { | 464 | { |
465 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 465 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
466 | "Adding the read ready event to the array as %d\n", | 466 | "Adding the read ready event to the array as %d\n", |
467 | nhandles); | 467 | fd_counter); |
468 | ml->cached_poll_array[fd_counter].fd = | 468 | ml->cached_poll_array[fd_counter].fd = |
469 | (intptr_t) ml->hEventReadReady; | 469 | (intptr_t) ml->hEventReadReady; |
470 | ml->cached_poll_array[fd_counter].events = G_IO_IN; | 470 | ml->cached_poll_array[fd_counter].events = G_IO_IN; |