From 54068a791e5b4b660bdb4ba8c0e9b14fd6b5ad0e Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Sat, 31 Jan 2009 16:41:48 +0000 Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@172707 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funcs/func_strings.c b/funcs/func_strings.c index c400bcb36c..de754be68e 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;