This commit is contained in:
Christian Grothoff 2022-10-22 00:18:35 +02:00
parent 83ba13c8ee
commit a2c99f173f
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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,