]> git.ipfire.org Git - thirdparty/asterisk.git/commit
say: Don't prepend ampersand erroneously.
authorNaveen Albert <asterisk@phreaknet.org>
Wed, 28 Sep 2022 12:38:37 +0000 (12:38 +0000)
committerN A <asterisk@phreaknet.org>
Wed, 26 Oct 2022 12:48:17 +0000 (07:48 -0500)
commit407216a0a56afdd692be4f7253ce710eb10d02d2
tree3a83b481d078202c7185aabd94670a64bcc90fc7
parentd0bea5a725ecdef00536da8380a805f11b8cefc4
say: Don't prepend ampersand erroneously.

Some logic in say.c for determining if we need
to also add an ampersand for file seperation was faulty,
as non-successful files would increment the count, causing
a leading ampersand to be added improperly.

This is fixed, and a unit test that captures this regression
is also added.

ASTERISK-30248 #close

Change-Id: I02c1d3a11d82fe4ea8b462070cbd1effb5834d2b
funcs/func_sayfiles.c
main/say.c