taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit 10d13043fed5aca90f2380943edb5694b8f9bf2b
parent de5437643580173452eb0ab838e2033579604efc
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 15 Mar 2020 20:10:11 +0100

move common logic to parse currency into libtalerutil

Diffstat:
Msrc/main.c | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -2868,14 +2868,9 @@ run (void *cls, /* parse the configuration file */ if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cfg, - "taler", - "currency", - &currency)) + TALER_config_get_currency (cfg, + &currency)) { - GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, - "taler", - "currency"); global_ret = EXIT_FAILURE; return; }