diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-15 20:08:38 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-15 20:08:38 +0100 |
commit | 4322bbf2f1722b4c53114901768772dabdb7e822 (patch) | |
tree | e2193282c2d179f2d3bdf32eb7aca7a6ba161f25 /src/auditor/taler-auditor-httpd.c | |
parent | d7cfb11fc6a171ece9c233d67ec849ac391bc818 (diff) | |
download | exchange-4322bbf2f1722b4c53114901768772dabdb7e822.tar.xz |
move common logic to parse currency into libtalerutil
Diffstat (limited to 'src/auditor/taler-auditor-httpd.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c index ff069f2aa..d7d8c4e5f 100644 --- a/src/auditor/taler-auditor-httpd.c +++ b/src/auditor/taler-auditor-httpd.c @@ -455,14 +455,9 @@ auditor_serve_process_config () return GNUNET_SYSERR; } if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cfg, - "TALER", - "CURRENCY", - ¤cy)) + TALER_config_get_currency (cfg, + ¤cy)) { - GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, - "TALER", - "CURRENCY"); return GNUNET_SYSERR; } if (GNUNET_OK != |