aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_strings.c')
-rw-r--r--funcs/func_strings.c2
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;
}