summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-reserves.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-reserves.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-reserves.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-reserves.c b/src/backend/taler-merchant-httpd_private-post-reserves.c
index 3e72650a..4f78b897 100644
--- a/src/backend/taler-merchant-httpd_private-post-reserves.c
+++ b/src/backend/taler-merchant-httpd_private-post-reserves.c
@@ -284,7 +284,7 @@ TMH_private_post_reserves (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
rc->http_status,
rc->ec,
- "Exchange does not support wire method");
+ NULL);
}
{
struct TALER_ReservePublicKeyP reserve_pub;
@@ -310,7 +310,7 @@ TMH_private_post_reserves (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_RESERVES_POST_DB_COMMIT_HARD_ERROR,
- "Failed to commit transaction");
+ NULL);
return TALER_MHD_reply_json_pack (connection,
MHD_HTTP_OK,
"{s:o,s:s}",