diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-31 16:40:59 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-31 16:40:59 +0000 |
commit | 1846b2ef9da3f704fc57a098acc3781760b5b1cd (patch) | |
tree | ffd5706cca9e1157ca778d2046e86dda1dfb461e /funcs | |
parent | 5e41326bc6d39a57c536880cc6048ef403993e34 (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: http://svn.digium.com/svn/asterisk/trunk@172706 f38db490-d61c-443f-a65b-d21fe96a405b
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; |