diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-10-22 00:18:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-10-22 00:18:35 +0200 |
commit | a2c99f173fb4d1bb7d72a5f1b1791211e71bb414 (patch) | |
tree | 8b43ae0fcfc6ed7244f06a1a93d176f5aa826426 /src/bank-lib | |
parent | 83ba13c8ee04f5ec8987ea16b3739dc89d1e2358 (diff) | |
download | exchange-a2c99f173fb4d1bb7d72a5f1b1791211e71bb414.tar.xz |
-DCE
Diffstat (limited to 'src/bank-lib')
-rw-r--r-- | src/bank-lib/fakebank.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index 0123f7c51..ebdb54356 100644 --- 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, |