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/program.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/program.c')
-rw-r--r-- | src/util/program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/program.c b/src/util/program.c index 69dd455cd..a313ce87e 100644 --- a/src/util/program.c +++ b/src/util/program.c | |||
@@ -223,7 +223,7 @@ GNUNET_PROGRAM_run2 (int argc, char *const *argv, const char *binaryName, | |||
223 | "%s%s%s", | 223 | "%s%s%s", |
224 | xdg, | 224 | xdg, |
225 | DIR_SEPARATOR_STR, | 225 | DIR_SEPARATOR_STR, |
226 | "gnunet.conf"); | 226 | GNUNET_OS_project_data_get ()->config_file); |
227 | else | 227 | else |
228 | cfg_fn = GNUNET_strdup (GNUNET_DEFAULT_USER_CONFIG_FILE); | 228 | cfg_fn = GNUNET_strdup (GNUNET_DEFAULT_USER_CONFIG_FILE); |
229 | lpfx = GNUNET_strdup (binaryName); | 229 | lpfx = GNUNET_strdup (binaryName); |