aboutsummaryrefslogtreecommitdiff
path: root/src/lib/eventloop.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 12:41:16 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 12:41:16 +0000
commitdc9e56c0bad628485c7acc319b4330a4f9907743 (patch)
tree802b1c4e2277e19d9862778958b08543aa4f41da /src/lib/eventloop.c
parent0c54b55429d30d798657643408bfe8893848b080 (diff)
downloadgnunet-gtk-dc9e56c0bad628485c7acc319b4330a4f9907743.tar.gz
gnunet-gtk-dc9e56c0bad628485c7acc319b4330a4f9907743.zip
some code cleanup
Diffstat (limited to 'src/lib/eventloop.c')
-rw-r--r--src/lib/eventloop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c
index 295a60bb..901aaaf3 100644
--- a/src/lib/eventloop.c
+++ b/src/lib/eventloop.c
@@ -261,7 +261,7 @@ gnunet_gtk_select (void *cls,
261 gint poll_result; 261 gint poll_result;
262 gint delay; 262 gint delay;
263 guint i; 263 guint i;
264 guint fd_counter = 0; 264 guint fd_counter;
265 guint need_gfds; 265 guint need_gfds;
266 fd_set aread; 266 fd_set aread;
267 fd_set awrite; 267 fd_set awrite;
@@ -319,9 +319,9 @@ gnunet_gtk_select (void *cls,
319 if (ml->cached_poll_array_size == 0) 319 if (ml->cached_poll_array_size == 0)
320 resize_cached_poll_array (ml, INITIAL_POLL_ARRAY_SIZE); 320 resize_cached_poll_array (ml, INITIAL_POLL_ARRAY_SIZE);
321 321
322 fd_counter = 0;
323#if !WINDOWS 322#if !WINDOWS
324 for (i = 0; i < max_nfds; i += 1) 323 fd_counter = 0;
324 for (i = 0; i < max_nfds; i++)
325 { 325 {
326 int isset[3]; 326 int isset[3];
327 327