aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-config.c')
-rw-r--r--src/util/gnunet-config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/gnunet-config.c b/src/util/gnunet-config.c
index d619610c5..3932ff1bf 100644
--- a/src/util/gnunet-config.c
+++ b/src/util/gnunet-config.c
@@ -251,6 +251,9 @@ run (void *cls,
251 { 251 {
252 char *cfg_fn = NULL; 252 char *cfg_fn = NULL;
253 253
254 if (NULL == out)
255 out = GNUNET_CONFIGURATION_dup (cfg);
256
254 if (NULL == cfgfile) 257 if (NULL == cfgfile)
255 { 258 {
256 const char *xdg = getenv ("XDG_CONFIG_HOME"); 259 const char *xdg = getenv ("XDG_CONFIG_HOME");