aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-08-30 18:15:34 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-08-30 18:15:34 +0200
commit57752ed36cf1e94663a4a1d8f17e0f92cc75b2dc (patch)
treed94a6b0a824e204a3a68217ab55f733f6e7b31ea /src
parent5e206e7c3023f5b3803c286b7d44ae50f542bd0d (diff)
add payto URI as detail
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_reserves_purse.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserves_purse.c b/src/exchange/taler-exchange-httpd_reserves_purse.c
index 89c151b5c..d6131057b 100644
--- a/src/exchange/taler-exchange-httpd_reserves_purse.c
+++ b/src/exchange/taler-exchange-httpd_reserves_purse.c
@@ -547,14 +547,17 @@ TEH_handler_reserves_purse (
&rpc.merge_pub,
&rpc.merge_sig))
{
+ MHD_RESULT ret;
+
GNUNET_break_op (0);
GNUNET_JSON_parse_free (spec);
- GNUNET_free (payto_uri);
- return TALER_MHD_reply_with_error (
+ ret = TALER_MHD_reply_with_error (
connection,
MHD_HTTP_FORBIDDEN,
TALER_EC_EXCHANGE_RESERVES_PURSE_MERGE_SIGNATURE_INVALID,
- NULL);
+ payto_uri);
+ GNUNET_free (payto_uri);
+ return ret;
}
GNUNET_free (payto_uri);
}