diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-01-31 16:40:59 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-01-31 16:40:59 +0000 |
commit | a2ddc0bb5eb49370e224596d4d040c4edd8d14d5 (patch) | |
tree | ffd5706cca9e1157ca778d2046e86dda1dfb461e /funcs | |
parent | 27862b0dceacada23ee01c11fd2649f3108a5101 (diff) |
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
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c index fa43752a4..cb8a98bea 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; |