diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-02 17:10:05 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-02 17:10:05 +0200 |
commit | e098dbf4dc102cd5d26f34f41e78b5c3333c88b4 (patch) | |
tree | 750ab3ac0765df1dffbf3b1e9e0f64021a1f1cbf /src/exchange/taler-exchange-httpd.c | |
parent | 8ebb4cda07f92f217f3388eaccabf9589fdb0800 (diff) | |
download | exchange-e098dbf4dc102cd5d26f34f41e78b5c3333c88b4.tar.gz exchange-e098dbf4dc102cd5d26f34f41e78b5c3333c88b4.tar.bz2 exchange-e098dbf4dc102cd5d26f34f41e78b5c3333c88b4.zip |
get filename instead of get_string, nicify some strings
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 823f12460..cb8ba2833 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -472,13 +472,12 @@ parse_port_config (const char *section, if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, section, - "unixpath_mode", + "UNIXPATH_MODE", &modestring)) { - GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_ERROR, + GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, section, - "unixpath_mode", - "unixpath_mode required"); + "UNIXPATH_MODE"); return GNUNET_SYSERR; } errno = 0; @@ -487,8 +486,8 @@ parse_port_config (const char *section, { GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_ERROR, section, - "unixpath_mode", - "unixpath_mode required"); + "UNIXPATH_MODE", + "must be octal number"); GNUNET_free (modestring); return GNUNET_SYSERR; } @@ -526,7 +525,7 @@ exchange_serve_process_config () if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, "taler", - "currency", + "CURRENCY", &TEH_exchange_currency_string)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, @@ -545,7 +544,7 @@ exchange_serve_process_config () if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, "exchange", - "master_public_key", + "MASTER_PUBLIC_KEY", &TEH_master_public_key_str)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, |