mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
Merged revisions 303858 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r303858 | tilghman | 2011-01-25 12:41:26 -0600 (Tue, 25 Jan 2011) | 5 lines Fix "sip show user <tab>", so that it actually shows results, instead of just completing the last entry. (closes issue #16675) Reported by: pj ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@303860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -16583,6 +16583,9 @@ static char *complete_sip_user(const char *word, int state)
|
||||
}
|
||||
ao2_unlock(user);
|
||||
unref_peer(user, "complete sip user");
|
||||
if (result) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
ao2_iterator_destroy(&user_iter);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user