diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-21 17:56:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-21 17:56:34 +0000 |
commit | 8ba99f4fec5ded9ab39fc65f68a41d077dbd6196 (patch) | |
tree | 9319074ee4995f5df34d79635b972a888310fe15 /src/lib | |
parent | 843c6b6ab954afae05b920ecc01d7eaa04bea03e (diff) | |
download | gnunet-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.c | 2 |
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); |