]> 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)
committerStuart Henderson <sthen@users.noreply.github.com>
Wed, 3 Sep 2025 13:15:49 +0000 (13:15 +0000)
commit0baf09b4559974688a3948bf01fd9166f58ed03d
tree70f1a3329c12c7221c7ec47be01b411077eea3e3
parent89001d3156f79f853d95a7bc24b33e8e13ddcf4c
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