diff options
Diffstat (limited to 'src/lib/eventloop.c')
-rw-r--r-- | src/lib/eventloop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index 8433a8dc..b7d5869e 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -892,7 +892,9 @@ run_main_loop (void *cls, char *const *args, const char *cfgfile, | |||
892 | GNUNET_free (ipath2); | 892 | GNUNET_free (ipath2); |
893 | GNUNET_free (ipath); | 893 | GNUNET_free (ipath); |
894 | 894 | ||
895 | (void) GNUNET_CONFIGURATION_load (gcfg, cfgfile); | 895 | if (GNUNET_YES == |
896 | GNUNET_DISK_file_test (cfgfile)) | ||
897 | (void) GNUNET_CONFIGURATION_parse (gcfg, cfgfile); | ||
896 | ml->rs = GNUNET_NETWORK_fdset_create (); | 898 | ml->rs = GNUNET_NETWORK_fdset_create (); |
897 | ml->ws = GNUNET_NETWORK_fdset_create (); | 899 | ml->ws = GNUNET_NETWORK_fdset_create (); |
898 | ml->gml = g_main_loop_new (NULL, TRUE); | 900 | ml->gml = g_main_loop_new (NULL, TRUE); |