mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
Merged revisions 114245 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114245 | seanbright | 2008-04-18 09:33:32 -0400 (Fri, 18 Apr 2008) | 1 line Only complete the SIP channel name once for 'sip show channel <channel>' ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -14038,6 +14038,10 @@ static char *complete_sipch(const char *line, const char *word, int pos, int sta
|
||||
int wordlen = strlen(word);
|
||||
struct ao2_iterator i;
|
||||
|
||||
if (pos != 3) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
i = ao2_iterator_init(dialogs, 0);
|
||||
|
||||
while ((cur = ao2_t_iterator_next(&i, "iterate thru dialogs"))) {
|
||||
|
||||
Reference in New Issue
Block a user