commit 7c2f13ff3a562600c7960c564c59a3158a8eb126
parent 8b3394afffffb87e35a05c0b46db062ea70e6c36
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 18 Jan 2026 12:45:28 +0100
fix #10879
Diffstat:
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_aml-attributes-get.c b/src/exchange/taler-exchange-httpd_aml-attributes-get.c
@@ -774,10 +774,6 @@ TEH_handler_aml_attributes_get (
);
}
}
- GNUNET_CONTAINER_DLL_insert (rctx_head,
- rctx_tail,
- rctx);
- MHD_suspend_connection (rc->connection);
rctx->tc = TALER_MHD_typst (TEH_cfg,
false,
"exchange",
@@ -795,6 +791,10 @@ TEH_handler_aml_attributes_get (
TALER_EC_EXCHANGE_GENERIC_NO_TYPST_OR_PDFTK,
NULL);
}
+ GNUNET_CONTAINER_DLL_insert (rctx_head,
+ rctx_tail,
+ rctx);
+ MHD_suspend_connection (rc->connection);
return MHD_YES;
}
GNUNET_assert (0);
diff --git a/src/mhd/mhd_typst.c b/src/mhd/mhd_typst.c
@@ -550,9 +550,7 @@ setup_stage (struct TypstStage *stage,
if (0 !=
json_dump_file (doc->data,
jfn,
- JSON_INDENT (2)
- // JSON_COMPACT
- ))
+ JSON_INDENT (2)))
{
GNUNET_break (0);
GNUNET_free (jfn);