aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-21 17:56:34 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-21 17:56:34 +0000
commit8ba99f4fec5ded9ab39fc65f68a41d077dbd6196 (patch)
tree9319074ee4995f5df34d79635b972a888310fe15 /src/lib
parent843c6b6ab954afae05b920ecc01d7eaa04bea03e (diff)
downloadgnunet-gtk-8ba99f4fec5ded9ab39fc65f68a41d077dbd6196.tar.gz
gnunet-gtk-8ba99f4fec5ded9ab39fc65f68a41d077dbd6196.zip
-fix code to locate config files
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/eventloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c
index aabcfa63..d3aef7e7 100644
--- a/src/lib/eventloop.c
+++ b/src/lib/eventloop.c
@@ -924,7 +924,7 @@ run_main_loop (void *cls, char *const *args, const char *cfgfile,
924 } 924 }
925 if (0 != strcmp (ipath, ipath2)) 925 if (0 != strcmp (ipath, ipath2))
926 { 926 {
927 GNUNET_asprintf (&baseconfig, "%s%s", ipath, "config.d"); 927 GNUNET_asprintf (&baseconfig, "%s%s", ipath2, "config.d");
928 if (GNUNET_YES == 928 if (GNUNET_YES ==
929 GNUNET_DISK_directory_test (baseconfig, GNUNET_YES)) 929 GNUNET_DISK_directory_test (baseconfig, GNUNET_YES))
930 (void) GNUNET_CONFIGURATION_load_from (gcfg, baseconfig); 930 (void) GNUNET_CONFIGURATION_load_from (gcfg, baseconfig);