]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_if: Fix faulty EndIf branching.
authorNaveen Albert <asterisk@phreaknet.org>
Sat, 23 Dec 2023 16:26:13 +0000 (16:26 +0000)
committerAsterisk Development Team <asteriskteam@digium.com>
Fri, 12 Jan 2024 18:29:20 +0000 (18:29 +0000)
commitd7948f542530800588e58dc969300b1ec3ba0040
tree67b22144969a89849065beace266c125a2724a32
parentc6b82b19a4da5dbc88d783b05627e688ff5fefd7
app_if: Fix faulty EndIf branching.

This fixes faulty branching logic for the
EndIf application. Instead of computing
the next priority, which should be done
for false conditionals or ExitIf, we should
simply advance to the next priority.

Resolves: #341
(cherry picked from commit 83a0cb51e5453a80ed30f7d022b95c729a91e7e1)
apps/app_if.c