]> git.ipfire.org Git - thirdparty/asterisk.git/commit
LISTFILTER: Remove outdated ERROR message. 58/4758/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:56:15 +0000 (17:56 -0600)
commitcfe72c39cfbd66cca9ea409f2eb76d5076ae6fd8
treed4a5895265d817a932850e93a630a17b7ea55a1e
parentb4fa17f51637f3e3fe9e46cbc29690ea867aca09
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