commit 8d6d4b7803c25e7fa8e400996201157b43c9df35
parent ca729864c5d858babb127fcd6f544e43c50ef000
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 27 Nov 2025 10:44:04 +0100
-fix crash if form not found
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_aml-attributes-get.c b/src/exchange/taler-exchange-httpd_aml-attributes-get.c
@@ -451,6 +451,10 @@ TEH_handler_aml_attributes_get (
NULL,
0);
}
+ GNUNET_CONTAINER_DLL_insert (rctx_head,
+ rctx_tail,
+ rctx);
+ MHD_suspend_connection (rc->connection);
rctx->tc = TALER_MHD_typst (TEH_cfg,
true,
"exchange",
@@ -469,10 +473,6 @@ TEH_handler_aml_attributes_get (
NULL,
0);
}
- GNUNET_CONTAINER_DLL_insert (rctx_head,
- rctx_tail,
- rctx);
- MHD_suspend_connection (rc->connection);
return MHD_YES;
}
GNUNET_assert (0);