From: Tilghman Lesher Date: Sat, 31 Jan 2009 16:40:59 +0000 (+0000) Subject: Don't increment the loop, now that incrementing is taken care of by the X-Git-Tag: 1.6.2.0-beta1~319 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2ddc0bb5eb49370e224596d4d040c4edd8d14d5;p=thirdparty%2Fasterisk.git 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/trunk@172706 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/funcs/func_strings.c b/funcs/func_strings.c index fa43752a42..cb8a98bea7 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -427,7 +427,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;