diff options
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 a389eaf41..fa0174c60 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -552,7 +552,7 @@ static int listfilter(struct ast_channel *chan, const char *cmd, char *parse, ch ast_str_append(result_ptr, len, "%s", delim); } - ast_str_append_substr(result_ptr, len, begin, cur - begin + 1); + ast_str_append_substr(result_ptr, len, begin, cur - begin); first = 0; begin = cur + dlen; } |