diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2021-07-28 09:46:40 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2021-07-28 09:46:40 +0200 |
commit | f2b3c4ee72442d0855af1a930231d7092544b7cf (patch) | |
tree | 8cd69be16797db57443ebcf03bb3fd26a44d4032 | |
parent | b9e4431ae6d6075bc0af8ab3bad7b976d831c8f0 (diff) | |
download | exchange-f2b3c4ee72442d0855af1a930231d7092544b7cf.tar.gz exchange-f2b3c4ee72442d0855af1a930231d7092544b7cf.zip |
-fix amount packer
-rw-r--r-- | src/mhd/mhd_responses.c | 4 |
1 files 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 * | |||
340 | TALER_MHD_make_error (enum TALER_ErrorCode ec, | 340 | TALER_MHD_make_error (enum TALER_ErrorCode ec, |
341 | const char *detail) | 341 | const char *detail) |
342 | { | 342 | { |
343 | return TALER_MHD_make_JSON_PACK ( | 343 | return TALER_MHD_MAKE_JSON_PACK ( |
344 | GNUNET_JSON_pack_uint64 ("code", ec), | 344 | GNUNET_JSON_pack_uint64 ("code", ec), |
345 | GNUNET_JSON_pack_string ("hint", TALER_ErrorCode_get_hint (ec)), | 345 | GNUNET_JSON_pack_string ("hint", TALER_ErrorCode_get_hint (ec)), |
346 | GNUNET_JSON_pack_allow_null ( | 346 | GNUNET_JSON_pack_allow_null ( |
@@ -354,7 +354,7 @@ TALER_MHD_reply_with_error (struct MHD_Connection *connection, | |||
354 | enum TALER_ErrorCode ec, | 354 | enum TALER_ErrorCode ec, |
355 | const char *detail) | 355 | const char *detail) |
356 | { | 356 | { |
357 | return TALER_MHD_reply_JSON_PACK ( | 357 | return TALER_MHD_REPLY_JSON_PACK ( |
358 | connection, | 358 | connection, |
359 | http_status, | 359 | http_status, |
360 | GNUNET_JSON_pack_uint64 ("code", ec), | 360 | GNUNET_JSON_pack_uint64 ("code", ec), |