aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-14 15:06:26 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-14 15:06:26 +0200
commit6173324cd938f658006a652d9b10acd8235f6d88 (patch)
tree99426aaf35950c11f333ad5634b719b6ea3ad2af /src
parentc1df2e628379a22068657e144bd34812c305350a (diff)
fix typo
Diffstat (limited to 'src')
-rw-r--r--src/mint-lib/test_mint_api.c2
-rw-r--r--src/mint/taler-mint-httpd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c
index 4b1b0f228..19b50373b 100644
--- a/src/mint-lib/test_mint_api.c
+++ b/src/mint-lib/test_mint_api.c
@@ -1948,7 +1948,6 @@ run (void *cls,
.details.refresh_melt.melted_coins = melt_coins_1,
.details.refresh_melt.fresh_amounts = melt_fresh_amounts_1 },
-#if TEST_REFRESH
/* Complete (successful) melt operation, and withdraw the coins */
{ .oc = OC_REFRESH_REVEAL,
@@ -1956,6 +1955,7 @@ run (void *cls,
.expected_response_code = MHD_HTTP_OK,
.details.refresh_reveal.melt_ref = "refresh-melt-1" },
+#if TEST_REFRESH
/* Test that /refresh/link works */
{ .oc = OC_REFRESH_LINK,
diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c
index a5a0681b6..1a5e5a2f0 100644
--- a/src/mint/taler-mint-httpd.c
+++ b/src/mint/taler-mint-httpd.c
@@ -222,7 +222,7 @@ handle_mhd_request (void *cls,
{ "/refresh/reveal", MHD_HTTP_METHOD_POST, "application/json",
NULL, 0,
- &TMH_REFRESH_handler_refresh_melt, MHD_HTTP_OK },
+ &TMH_REFRESH_handler_refresh_reveal, MHD_HTTP_OK },
{ "/refresh/reveal", NULL, "text/plain",
"Only POST is allowed", 0,
&TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED },