summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-delete-reserves-ID.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-25 20:32:36 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-25 20:32:36 +0200
commitd354d119db7ca0195cb93140bf3160b11449fa92 (patch)
treeae96671396a0073d4416cb59d57a7a54f87bd20b /src/backend/taler-merchant-httpd_private-delete-reserves-ID.c
parent0acefc910ff1b86aa04300310d63e3ea88d509de (diff)
downloadmerchant-d354d119db7ca0195cb93140bf3160b11449fa92.tar.gz
merchant-d354d119db7ca0195cb93140bf3160b11449fa92.tar.bz2
merchant-d354d119db7ca0195cb93140bf3160b11449fa92.zip
fix #6432
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-delete-reserves-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-delete-reserves-ID.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_private-delete-reserves-ID.c b/src/backend/taler-merchant-httpd_private-delete-reserves-ID.c
index ba2c08be..c2060a8a 100644
--- a/src/backend/taler-merchant-httpd_private-delete-reserves-ID.c
+++ b/src/backend/taler-merchant-httpd_private-delete-reserves-ID.c
@@ -51,7 +51,7 @@ TMH_private_delete_reserves_ID (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_BAD_REQUEST,
TALER_EC_RESERVES_INVALID_RESERVE_PUB,
- "reserve public key malformed");
+ hc->infix);
}
purge = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
@@ -73,7 +73,7 @@ TMH_private_delete_reserves_ID (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_RESERVES_DELETE_DB_HARD_FAILURE,
- "Transaction failed");
+ NULL);
case GNUNET_DB_STATUS_SOFT_ERROR:
GNUNET_break (0);
return TALER_MHD_reply_with_error (connection,
@@ -84,7 +84,7 @@ TMH_private_delete_reserves_ID (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_NOT_FOUND,
TALER_EC_RESERVES_DELETE_NO_SUCH_RESERVE,
- "Reserve unknown");
+ hc->infix);
case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
return TALER_MHD_reply_static (connection,
MHD_HTTP_NO_CONTENT,