summaryrefslogtreecommitdiff
path: root/src/util/config.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-15 16:51:30 +0800
committerChristian Grothoff <grothoff@gnunet.org>2023-12-15 16:51:30 +0800
commit06319e6995bf8606306d03a4c05051cf90b143dd (patch)
tree2a63605d48fdcb19a677cd6d4c8afc179c7de171 /src/util/config.c
parent0961195ff3da36604e58d2b355dc570d908eed08 (diff)
downloadexchange-06319e6995bf8606306d03a4c05051cf90b143dd.tar.gz
exchange-06319e6995bf8606306d03a4c05051cf90b143dd.tar.bz2
exchange-06319e6995bf8606306d03a4c05051cf90b143dd.zip
include currencies.conf in libtalerexchange as the merchant-httpd needs it
Diffstat (limited to 'src/util/config.c')
-rw-r--r--src/util/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/config.c b/src/util/config.c
index 1342b53b9..188969c6f 100644
--- a/src/util/config.c
+++ b/src/util/config.c
@@ -461,7 +461,11 @@ TALER_CONFIG_parse_currencies (const struct GNUNET_CONFIGURATION_Handle *cfg,
*num_currencies = cpc.num_currencies;
*cspecs = cpc.cspecs;
if (0 == *num_currencies)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "No currency formatting specification found! Please check your installation!\n");
return GNUNET_NO;
+ }
return GNUNET_OK;
}