diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-15 17:42:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-15 17:42:28 +0000 |
commit | 1d3dc794d9a5e82375995af14e91668430a31293 (patch) | |
tree | cf29fb5c1b5fb098db9e465c82b43ea6ae13459d /src/util/service.c | |
parent | 77e513214aac2c31924f6d59db69cab6304ebb93 (diff) | |
download | gnunet-1d3dc794d9a5e82375995af14e91668430a31293.tar.gz gnunet-1d3dc794d9a5e82375995af14e91668430a31293.zip |
add option to set configuration file to be used by default by libgnunetutil routines
Diffstat (limited to 'src/util/service.c')
-rw-r--r-- | src/util/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/service.c b/src/util/service.c index 76e540302..c7f965021 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1427,7 +1427,7 @@ GNUNET_SERVICE_run (int argc, char *const *argv, | |||
1427 | "%s%s%s", | 1427 | "%s%s%s", |
1428 | xdg, | 1428 | xdg, |
1429 | DIR_SEPARATOR_STR, | 1429 | DIR_SEPARATOR_STR, |
1430 | "gnunet.conf"); | 1430 | GNUNET_OS_project_data_get ()->config_file); |
1431 | else | 1431 | else |
1432 | cfg_fn = GNUNET_strdup (GNUNET_DEFAULT_USER_CONFIG_FILE); | 1432 | cfg_fn = GNUNET_strdup (GNUNET_DEFAULT_USER_CONFIG_FILE); |
1433 | memset (&sctx, 0, sizeof (sctx)); | 1433 | memset (&sctx, 0, sizeof (sctx)); |