diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-16 19:49:53 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-16 19:49:53 +0200 |
commit | 719b51b65df263dbd41bc1adc9eccfdf07bcda46 (patch) | |
tree | c121461ab6f0b10f87b060247ed6e4be542d15f4 /src/exchange/taler-exchange-httpd.c | |
parent | a34891981c1311026a064af5312d7e4535c9ba11 (diff) | |
download | exchange-719b51b65df263dbd41bc1adc9eccfdf07bcda46.tar.gz exchange-719b51b65df263dbd41bc1adc9eccfdf07bcda46.tar.bz2 exchange-719b51b65df263dbd41bc1adc9eccfdf07bcda46.zip |
fix config parsing for dbinit tool
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index a8e9b3b08..a533a973d 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -648,6 +648,8 @@ main (int argc, options, argc, argv)) return 1; + if (NULL == cfgfile) + cfgfile = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file); cfg = GNUNET_CONFIGURATION_create (); if (GNUNET_SYSERR == GNUNET_CONFIGURATION_load (cfg, cfgfile)) { |