From f2b3c4ee72442d0855af1a930231d7092544b7cf Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 28 Jul 2021 09:46:40 +0200 Subject: [PATCH] -fix amount packer --- src/mhd/mhd_responses.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c index b666720e6..befd56317 100644 --- a/src/mhd/mhd_responses.c +++ b/src/mhd/mhd_responses.c @@ -340,7 +340,7 @@ struct MHD_Response * TALER_MHD_make_error (enum TALER_ErrorCode ec, const char *detail) { - return TALER_MHD_make_JSON_PACK ( + return TALER_MHD_MAKE_JSON_PACK ( GNUNET_JSON_pack_uint64 ("code", ec), GNUNET_JSON_pack_string ("hint", TALER_ErrorCode_get_hint (ec)), GNUNET_JSON_pack_allow_null ( @@ -354,7 +354,7 @@ TALER_MHD_reply_with_error (struct MHD_Connection *connection, enum TALER_ErrorCode ec, const char *detail) { - return TALER_MHD_reply_JSON_PACK ( + return TALER_MHD_REPLY_JSON_PACK ( connection, http_status, GNUNET_JSON_pack_uint64 ("code", ec),