commit 1699640c5723ab744df442c993b4df99299dbf94
parent c559dbff46fe3b3c6d29ab49200d66f54db5b29b
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Wed, 11 Mar 2026 15:13:44 +0100
some fix-up
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-private-accounts.c b/src/backend/taler-merchant-httpd_post-private-accounts.c
@@ -375,6 +375,8 @@ TMH_private_post_account (const struct TMH_RequestHandler *rh,
wm = TMH_setup_wire_account (pac.uri,
pac.credit_facade_url,
pac.credit_facade_credentials);
+ wm->extra_wire_subject_metadata
+ = GNUNET_strdup (pac.extra_wire_subject_metadata);
GNUNET_assert (NULL != wm);
{
struct TALER_MERCHANTDB_AccountDetails ad = {
@@ -384,7 +386,7 @@ TMH_private_post_account (const struct TMH_RequestHandler *rh,
.h_wire = wm->h_wire,
.credit_facade_url = wm->credit_facade_url,
.credit_facade_credentials = wm->credit_facade_credentials,
- .extra_wire_subject_metadata = (char *) pac.extra_wire_subject_metadata,
+ .extra_wire_subject_metadata = wm->extra_wire_subject_metadata,
.active = wm->active
};
struct GNUNET_DB_EventHeaderP es = {
@@ -453,9 +455,7 @@ TMH_private_post_account (const struct TMH_RequestHandler *rh,
connection,
MHD_HTTP_OK,
GNUNET_JSON_pack_data_auto ("salt",
- &wm->
- wire_salt
- ),
+ &wm->wire_salt),
GNUNET_JSON_pack_data_auto ("h_wire",
&wm->h_wire));
} /* end retries */