]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 4 Jan 2023 12:01:41 +0000 (06:01 -0600)
commitafdce6fc539640d2d5d83436397c5f736178339f
treec3df50ec6020f02feb9c8605a7511b3d800d26dd
parent54b1a64ef038f6049675f4a140b325f31d3f3279
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