]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: fix comparison for announce-position-only-up
authorStuart Henderson <sthen@users.noreply.github.com>
Thu, 21 Aug 2025 10:22:40 +0000 (10:22 +0000)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 3 Sep 2025 13:15:55 +0000 (13:15 +0000)
commit11e3567200799c007f76a55b056b0c470c700caa
tree8cbcfaa8fbf22c972b5cac2089373a2f774a9be1
parent02993717b08f899d4aca9888062f35dfb198584f
app_queue: fix comparison for announce-position-only-up

Numerically comparing that the current queue position is less than
last_pos_said can only be done after at least one announcement has been
made, otherwise last_pos_said is at the default (0).

Fixes: #1386
apps/app_queue.c