aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-10 20:54:03 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-10 20:54:03 +0000
commite8da35fb87296575580b39ebe7e51eeb47dd913d (patch)
tree5c672382a0783743fa2a6fdc46620c44340bb72f /funcs
parent2b7ee71e8e512edb683b38538ddd2166f1771fc3 (diff)
Hmmm, apparently needed to be fixed in trunk, too.
(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/trunk@251682 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-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;
}