diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-16 11:10:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-16 11:10:55 +0000 |
commit | d49d16a84422346630c3196e3de9727ea872371c (patch) | |
tree | b22d333f140a1476f793a76fec824c17ad4bccff /src/util/service.c | |
parent | 1d3dc794d9a5e82375995af14e91668430a31293 (diff) | |
download | gnunet-d49d16a84422346630c3196e3de9727ea872371c.tar.gz gnunet-d49d16a84422346630c3196e3de9727ea872371c.zip |
support overriding GNUNET_DEFAULT_USER_CONFIG_FILE
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 c7f965021..93a51f220 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1429,7 +1429,7 @@ GNUNET_SERVICE_run (int argc, char *const *argv, | |||
1429 | DIR_SEPARATOR_STR, | 1429 | DIR_SEPARATOR_STR, |
1430 | GNUNET_OS_project_data_get ()->config_file); | 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_OS_project_data_get ()->user_config_file); |
1433 | memset (&sctx, 0, sizeof (sctx)); | 1433 | memset (&sctx, 0, sizeof (sctx)); |
1434 | sctx.options = options; | 1434 | sctx.options = options; |
1435 | sctx.ready_confirm_fd = -1; | 1435 | sctx.ready_confirm_fd = -1; |