commit caaac7a565ac65b5cbcf48b90453d3009d23a6cb
parent c2f3c41087bec74e3dc98e11608af81a7e92b6e2
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 18 Apr 2025 14:37:32 +0200
-fix regexec() result interpretation
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/exchange_api_restrictions.c b/src/lib/exchange_api_restrictions.c
@@ -77,7 +77,8 @@ TALER_EXCHANGE_test_account_allowed (
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
- if (regexec (&ex,
+ if (0 ==
+ regexec (&ex,
payto_uri.normalized_payto,
0, NULL,
0))