diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-10 20:48:33 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-10 20:48:33 +0000 |
commit | 10b12ae70899caaf1730f9a39b132e46ef68e1aa (patch) | |
tree | 4847bf671f697a2f02311a2c50ba9aec1be52207 /funcs | |
parent | 4c3b8afeed951fed10d8b154b596ab88a23817d9 (diff) |
LISTFILTER was doubling delimiters on output.
(closes issue #16900)
Reported by: bluecrow76
Patches:
asterisk-1.6.2.4-func_strings.diff uploaded by bluecrow76 (license 270)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@251678 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c index 823a3c103..f69cf8d62 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -405,7 +405,7 @@ static int listfilter(struct ast_channel *chan, const char *cmd, char *parse, ch ast_str_append(&result, 0, "%s", delim); } - ast_str_append_substr(&result, 0, begin, cur - begin + 1); + ast_str_append_substr(&result, 0, begin, cur - begin); first = 0; begin = cur + dlen; } |