exchange

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

commit a2c99f173fb4d1bb7d72a5f1b1791211e71bb414
parent 83ba13c8ee04f5ec8987ea16b3739dc89d1e2358
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 22 Oct 2022 00:18:35 +0200

-DCE

Diffstat:
Msrc/bank-lib/fakebank.c | 11+++--------
1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c @@ -3722,16 +3722,11 @@ handle_bank_access (struct TALER_FAKEBANK_Handle *h, if ('/' == *end_acc) { const char *wid = end_acc + 1; + const char *opid = strchr (wid, + '/'); char *wi; - const char *opid; - if (NULL != end_acc) - opid = strchr (wid, - '/'); - else - opid = NULL; - if ( (NULL == end_acc) || - (NULL == opid) || + if ( (NULL == opid) || ( (0 != strcmp (opid, "/abort")) && (0 != strcmp (opid,