diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-13 16:01:40 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-13 16:01:40 +0000 |
commit | e0da756966fefe60ffc272f8fba853b390a7d0df (patch) | |
tree | 6f9cb4f0bace33d3ed960ff073d8d36538581bbf /pbx.c | |
parent | 3496603957661f140c2dc12149107a2d6c033fd7 (diff) |
Range should be inclusive, not exclusive, of the end of the range.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8056 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r-- | pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3748,7 +3748,7 @@ static unsigned get_range(char *src, int max, char *const names[], const char *m } /* 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); |