projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa0de6
)
Range should be inclusive, not exclusive, of the end of the range.
author
BJ Weschke
<bweschke@btwtech.com>
Fri, 13 Jan 2006 16:01:40 +0000
(16:01 +0000)
committer
BJ Weschke
<bweschke@btwtech.com>
Fri, 13 Jan 2006 16:01:40 +0000
(16:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8056
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
pbx.c
patch
|
blob
|
history
diff --git
a/pbx.c
b/pbx.c
index
a70f922
..
38c6e5d
100644
(file)
--- a/
pbx.c
+++ b/
pbx.c
@@
-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);