diff options
Diffstat (limited to 'src/lib/eventloop.c')
-rw-r--r-- | src/lib/eventloop.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index bf24e4ab..7cc2e2e7 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -90,12 +90,6 @@ struct GNUNET_GTK_MainLoop | |||
90 | */ | 90 | */ |
91 | guint cached_poll_array_size; | 91 | guint cached_poll_array_size; |
92 | 92 | ||
93 | /** | ||
94 | * Return value from last g_main_context_query call. | ||
95 | */ | ||
96 | guint poll_array_active; | ||
97 | |||
98 | |||
99 | #if WINDOWS | 93 | #if WINDOWS |
100 | /** | 94 | /** |
101 | * Array to hold pipe handles during a select() call | 95 | * Array to hold pipe handles during a select() call |
@@ -527,7 +521,6 @@ gnunet_gtk_select (void *cls, | |||
527 | resize_cached_poll_array (ml, | 521 | resize_cached_poll_array (ml, |
528 | fd_counter + need_gfds); | 522 | fd_counter + need_gfds); |
529 | } | 523 | } |
530 | ml->poll_array_active = fd_counter + need_gfds; | ||
531 | 524 | ||
532 | if (timeout.rel_value != GNUNET_TIME_UNIT_FOREVER_REL.rel_value) | 525 | if (timeout.rel_value != GNUNET_TIME_UNIT_FOREVER_REL.rel_value) |
533 | { | 526 | { |
@@ -556,7 +549,9 @@ gnunet_gtk_select (void *cls, | |||
556 | fd_counter, need_gfds, delay); | 549 | fd_counter, need_gfds, delay); |
557 | #endif | 550 | #endif |
558 | 551 | ||
559 | poll_result = g_poll (ml->cached_poll_array, fd_counter + need_gfds, delay); | 552 | poll_result = g_poll (ml->cached_poll_array, |
553 | fd_counter + need_gfds, | ||
554 | delay); | ||
560 | 555 | ||
561 | #if DEBUG_NETWORK | 556 | #if DEBUG_NETWORK |
562 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 557 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |