diff options
Diffstat (limited to 'src/auditor/taler-auditor-exchange.c')
-rw-r--r-- | src/auditor/taler-auditor-exchange.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor-exchange.c b/src/auditor/taler-auditor-exchange.c index b8b8428e..b751ea9a 100644 --- a/src/auditor/taler-auditor-exchange.c +++ b/src/auditor/taler-auditor-exchange.c @@ -104,7 +104,13 @@ main (int argc, return EXIT_INVALIDARGUMENT; } if (NULL == cfgfile) - cfgfile = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file); + cfgfile = GNUNET_CONFIGURATION_default_filename (); + if (NULL == cfgfile) + { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Can't find default configuration file.\n"); + return EXIT_NOTCONFIGURED; + } cfg = GNUNET_CONFIGURATION_create (); GNUNET_log (GNUNET_ERROR_TYPE_INFO, |