exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit da15a59717fcf824569cbd647641c572405eb678
parent f36fe8c22cb0de29dbd0e729c880058c08cbec27
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  5 Apr 2021 19:29:00 +0200

omit charset from en_US.UTF-8 env variable when picking i18n strings, handle no preference case

Diffstat:
Msrc/json/json_helper.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/json/json_helper.c b/src/json/json_helper.c @@ -419,7 +419,8 @@ parse_i18n_string (void *cls, val = json_object_get (root, ctx->field); - if (NULL != i18n) + if ( (NULL != i18n) && + (NULL != ctx->lp) ) { double best = 0.0; json_t *pos;