aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-31 16:42:12 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-31 16:42:12 +0000
commit23bdf7c0fba016692357bf7672d7fc49c7f49656 (patch)
tree6e5fa167947ac77fbea89589dd2ee123599b7d40 /funcs
parentf396d4b1a2d3056aff27909d21f8e6c78e6dc01f (diff)
Merged revisions 172706 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r172706 | tilghman | 2009-01-31 10:40:59 -0600 (Sat, 31 Jan 2009) | 7 lines Don't increment the loop, now that incrementing is taken care of by the decoder function. (closes issue #14363) Reported by: andrew53 Patches: func_strings_filter.patch uploaded by andrew53 (license 519) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@172708 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 e520cc7d6..b2bcc8b90 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -99,7 +99,7 @@ static int filter(struct ast_channel *chan, const char *cmd, char *parse, char *
}
/* Expand ranges */
- for (; *(args.allowed) && allowedlen < sizeof(allowed); (args.allowed)++) {
+ for (; *(args.allowed) && allowedlen < sizeof(allowed); ) {
char c1 = 0, c2 = 0;
size_t consumed = 0;