]> 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, 4 Jan 2023 12:38:25 +0000 (06:38 -0600)
commiteb2acd9a684b7b052ec87cfb495397cd89c48db2
tree25238abde05eb03da2572af31e9b672b49278a7b
parent5ffec8cc411d64c102dcc48b7c481bb443ed81a6
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
(cherry picked from commit bf6194be45acb277cd69e6236050c77880ccb2af)
funcs/func_sayfiles.c
main/say.c