From b8df3f371bb73d0db832c2b1c1fc705df0495bce Mon Sep 17 00:00:00 2001 From: tilghman Date: Sat, 31 Jan 2009 16:41:48 +0000 Subject: 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 --- funcs/func_strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'funcs') 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; -- cgit v1.2.3