]> git.ipfire.org Git - thirdparty/asterisk.git/commit
LISTFILTER: Remove outdated ERROR message. 56/4756/1
authorRichard Mudgett <rmudgett@digium.com>
Sun, 22 Jan 2017 23:25:57 +0000 (17:25 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Sun, 22 Jan 2017 23:46:02 +0000 (17:46 -0600)
commita969bf357708514104b67274a6c07d4697ea0eff
tree0ab8a7ddd430e1a4ef085e21773e30a366d62df9
parent8c3ec5038f84de8784fa1dad989312333164fe3f
LISTFILTER: Remove outdated ERROR message.

Feeding LISTFILTER an empty variable results in an invalid ERROR message.
Earlier changes made the message useless because we can no longer tell if
the variable is empty or does not exist.  It is valid to try to remove a
value from an empty list just as it is valid to try to remove a value that
is not in a non-empty list.

* Removed the outdated ERROR message.

* Added more test cases to the LISTFILTER unit test.

Change-Id: Ided9040e6359c44a335ef54e02ef5950a1863134
funcs/func_strings.c
tests/test_substitution.c