diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-11 11:04:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-11 11:04:07 +0000 |
commit | 3bcfd8e974513f815a678c8bac654ca9f4bfd82c (patch) | |
tree | 234d7b9fbe2ba0dec0074d635b9f1adb28baa9db | |
parent | 4a174cbd4380c713c2d14f02876c0c640515540e (diff) | |
download | gnunet-gtk-3bcfd8e974513f815a678c8bac654ca9f4bfd82c.tar.gz gnunet-gtk-3bcfd8e974513f815a678c8bac654ca9f4bfd82c.zip |
-LRN: fix non-fatal assertion failure
-rw-r--r-- | src/lib/eventloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index 4cb0fca5..591f7928 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -316,7 +316,7 @@ gnunet_gtk_select (void *cls, struct GNUNET_NETWORK_FDSet *rfds, | |||
316 | DWORD waitstatus; | 316 | DWORD waitstatus; |
317 | #endif | 317 | #endif |
318 | 318 | ||
319 | if (TRUE != g_main_loop_is_running (ml->gml)) | 319 | if (ml->gml == NULL || TRUE != g_main_loop_is_running (ml->gml)) |
320 | return GNUNET_NETWORK_socket_select (rfds, wfds, efds, timeout); | 320 | return GNUNET_NETWORK_socket_select (rfds, wfds, efds, timeout); |
321 | if (NULL != rfds) | 321 | if (NULL != rfds) |
322 | FD_COPY (&rfds->sds, &aread); | 322 | FD_COPY (&rfds->sds, &aread); |