mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
Make PRI span completion only show spans that actually are PRIs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6761,7 +6761,7 @@ static char *complete_span(char *line, char *word, int pos, int state)
|
|||||||
int span=1;
|
int span=1;
|
||||||
char tmp[50];
|
char tmp[50];
|
||||||
while(span <= NUM_SPANS) {
|
while(span <= NUM_SPANS) {
|
||||||
if (span > state)
|
if (span > state && pris[span-1].pri)
|
||||||
break;
|
break;
|
||||||
span++;
|
span++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user