From bd2372f20ef7259d87c44e92de32c66b26e6632f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 11 Apr 2015 16:38:09 +0200 Subject: implementing #3740 --- src/mint/taler-mint-httpd_parsing.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mint/taler-mint-httpd_parsing.c') diff --git a/src/mint/taler-mint-httpd_parsing.c b/src/mint/taler-mint-httpd_parsing.c index c492ecce..d079da5c 100644 --- a/src/mint/taler-mint-httpd_parsing.c +++ b/src/mint/taler-mint-httpd_parsing.c @@ -1025,7 +1025,7 @@ TMH_PARSE_amount_json (struct MHD_Connection *connection, return GNUNET_NO; } if (0 != strcmp (currency, - TMH_MINT_CURRENCY)) + TMH_mint_currency_string)) { TALER_LOG_WARNING ("Currency specified not supported by this mint\n"); if (MHD_YES != @@ -1039,8 +1039,8 @@ TMH_PARSE_amount_json (struct MHD_Connection *connection, } amount->value = (uint64_t) value; amount->fraction = (uint32_t) fraction; - GNUNET_assert (strlen (TMH_MINT_CURRENCY) < TALER_CURRENCY_LEN); - strcpy (amount->currency, TMH_MINT_CURRENCY); + GNUNET_assert (strlen (TMH_mint_currency_string) < TALER_CURRENCY_LEN); + strcpy (amount->currency, TMH_mint_currency_string); TALER_amount_normalize (amount); return GNUNET_OK; } -- cgit v1.2.3