[asterisk-commits] trunk - r8056 /trunk/pbx.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Jan 13 10:01:42 CST 2006
Author: bweschke
Date: Fri Jan 13 10:01:40 2006
New Revision: 8056
URL: http://svn.digium.com/view/asterisk?rev=8056&view=rev
Log:
Range should be inclusive, not exclusive, of the end of the range.
Modified:
trunk/pbx.c
Modified: trunk/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx.c?rev=8056&r1=8055&r2=8056&view=diff
==============================================================================
--- trunk/pbx.c (original)
+++ trunk/pbx.c Fri Jan 13 10:01:40 2006
@@ -3748,7 +3748,7 @@
}
/* Fill the mask. Remember that ranges are cyclic */
mask = 1 << s; /* last element in case s == e */
- for ( ; s!=e; s++) {
+ for ( ; s<=e; s++) {
if (s == max)
s = 0 ;
mask |= (1 << s);
More information about the asterisk-commits
mailing list