aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-04 14:13:23 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-04 14:13:23 +0000
commit0032c5d898941ec81c77fec42434e81670a27ce2 (patch)
tree77166f22c300f75cb1880c3e7457053501ff2976 /apps/app_queue.c
parent9f168b13247453f3da44d9bb210a4de25af46240 (diff)
Merged revisions 120286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r120286 | mmichelson | 2008-06-04 09:12:45 -0500 (Wed, 04 Jun 2008) | 15 lines Merged revisions 120285 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r120285 | mmichelson | 2008-06-04 09:11:12 -0500 (Wed, 04 Jun 2008) | 7 lines Tab completion when removing a member should give the member's interface, not the name, since the interface is what is expected for the command. (closes issue #12783) Reported by: davevg ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120287 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 1b99734e8..402c910fa 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -5894,7 +5894,7 @@ static char *complete_queue_remove_member(const char *line, const char *word, in
if (!strncasecmp(word, m->membername, wordlen) && ++which > state) {
char *tmp;
ao2_unlock(q);
- tmp = m->membername;
+ tmp = m->interface;
ao2_ref(m, -1);
queue_unref(q);
return ast_strdup(tmp);