diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-07-30 22:46:47 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-07-30 22:46:47 +0200 |
commit | 8175007a1005aa975a11636d9cad95851b8a3a0d (patch) | |
tree | 0cdd948eff8f40f775691123dc35a8cbbf0f165e /src/lib | |
parent | 6d22968e8ec7190f1d85e5f7f30905a0e4be56f0 (diff) | |
download | exchange-8175007a1005aa975a11636d9cad95851b8a3a0d.tar.xz |
possibly final test_kyc_api fixes
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/exchange_api_lookup_aml_decisions.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/exchange_api_lookup_aml_decisions.c b/src/lib/exchange_api_lookup_aml_decisions.c index e531f98c8..8d0d1f919 100644 --- a/src/lib/exchange_api_lookup_aml_decisions.c +++ b/src/lib/exchange_api_lookup_aml_decisions.c @@ -542,7 +542,10 @@ TALER_EXCHANGE_lookup_aml_decisions ( "limit", limit_s, "offset", - offset_s, + ( ( (limit < 0) && (UINT64_MAX == offset) ) || + ( (limit > 0) && (0 == offset) ) ) + ? NULL + : offset_s, "h_payto", NULL != h_payto ? payto_s |