commit 29975d6d78aba1ff4d918b79f449bb69b1e0fabe parent 2c694f9a62544784b30ec4f0798aa5bf5de60de4 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 4 May 2025 09:39:59 +0200 treat empty string as NULL for new_measures Diffstat:
| M | src/exchange/taler-exchange-httpd_aml-decision.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/exchange/taler-exchange-httpd_aml-decision.c b/src/exchange/taler-exchange-httpd_aml-decision.c @@ -328,7 +328,8 @@ TEH_handler_post_aml_decision ( } expiration_time = TALER_KYCLOGIC_rules_get_expiration (lrs); - if (NULL != new_measures) + if ( (NULL != new_measures) && + (0 != strlen (new_measures)) ) { jmeasures = TALER_KYCLOGIC_get_jmeasures (lrs,