diff options
Diffstat (limited to 'src/lib/eventloop.c')
-rw-r--r-- | src/lib/eventloop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index 444d750e..7d06ee37 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -886,7 +886,8 @@ run_main_loop (void *cls, char *const *args, const char *cfgfile, | |||
886 | ml->gml = g_main_loop_new (NULL, TRUE); | 886 | ml->gml = g_main_loop_new (NULL, TRUE); |
887 | ml->gmc = g_main_loop_get_context (ml->gml); | 887 | ml->gmc = g_main_loop_get_context (ml->gml); |
888 | ml->cfg = gcfg; | 888 | ml->cfg = gcfg; |
889 | ml->cfgfile = GNUNET_strdup (cfgfile); | 889 | if (NULL != cfgfile) |
890 | ml->cfgfile = GNUNET_strdup (cfgfile); | ||
890 | ml->argc = argc; | 891 | ml->argc = argc; |
891 | ml->argv = args; | 892 | ml->argv = args; |
892 | 893 | ||