aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-31 16:41:48 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-31 16:41:48 +0000
commitb8df3f371bb73d0db832c2b1c1fc705df0495bce (patch)
treec028b7181d0ca616827adb596fc37d22d0965456 /funcs
parentfda2406320a592a67d94087c4d1b90f58ce2d964 (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.0@172707 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 c400bcb36..de754be68 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;