]> 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)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 26 Oct 2022 15:07:24 +0000 (10:07 -0500)
commitbf6194be45acb277cd69e6236050c77880ccb2af
treebd05ddf3d552cf6814af47eeeefcc830b6268cb8
parent85ae67f3875c02d99c44c02a408953a06ee0c27a
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