diff options
Diffstat (limited to 'src/lib/eventloop.c')
-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); |