]> 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, 26 Oct 2022 14:52:38 +0000 (09:52 -0500)
commit0825d26ad9699eee6b366163f1965a9bb5da1b71
tree593cd734418f4e3e300999c88650838633cd16be
parentb283c8c20f08094c01455a7522b6cbedb677737a
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