diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-04 14:11:12 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-04 14:11:12 +0000 |
commit | 946fadd5cf17931696d4cdd049351881a243d3eb (patch) | |
tree | 49dc6274f980a29542e9e3cc556ae779c79ad668 /apps/app_queue.c | |
parent | 96bbfcbb140393747852287bc5640b0ba2f80382 (diff) |
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.4@120285 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 6830745d7..18b2cd9f9 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -4815,7 +4815,7 @@ static char *complete_queue_remove_member(const char *line, const char *word, in if (++which > state) { char *tmp; ast_mutex_unlock(&q->lock); - tmp = m->membername; + tmp = m->interface; ao2_ref(m, -1); return ast_strdup(tmp); } |