Fixed: input RPC validation of choice (non-case)

This commit is contained in:
Olof hagsand 2022-02-03 15:14:09 +01:00
parent bdc09851f0
commit b5ecd6d5fa
3 changed files with 58 additions and 2 deletions

View file

@ -538,7 +538,7 @@ check_choice(cxobj *xt,
continue;
break;
case Y_CHOICE:
if (yp != ytcase) /* Not same choice (not relevant) */
if (yp != ytchoice) /* Not same choice (not relevant) */
continue;
break;
default:
@ -549,7 +549,6 @@ check_choice(cxobj *xt,
goto done;
goto fail;
} /* while */
ok:
retval = 1;
done: