[asterisk-commits] tilghman: trunk r172706 - /trunk/funcs/func_strings.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Jan 31 10:40:59 CST 2009
Author: tilghman
Date: Sat Jan 31 10:40:59 2009
New Revision: 172706
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=172706
Log:
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)
Modified:
trunk/funcs/func_strings.c
Modified: trunk/funcs/func_strings.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/funcs/func_strings.c?view=diff&rev=172706&r1=172705&r2=172706
==============================================================================
--- trunk/funcs/func_strings.c (original)
+++ trunk/funcs/func_strings.c Sat Jan 31 10:40:59 2009
@@ -427,7 +427,7 @@
}
/* 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;
More information about the asterisk-commits
mailing list