diff options
author | BJ Weschke <bweschke@btwtech.com> | 2006-01-13 16:01:40 +0000 |
---|---|---|
committer | BJ Weschke <bweschke@btwtech.com> | 2006-01-13 16:01:40 +0000 |
commit | 34ba77e7023183bf4ddd3b62956822166d9dad99 (patch) | |
tree | 6f9cb4f0bace33d3ed960ff073d8d36538581bbf /pbx.c | |
parent | caa0de6e99398664e3bb6a986abc8f4542f8aa8a (diff) |
Range should be inclusive, not exclusive, of the end of the range.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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); |