[asterisk-commits] mmichelson: branch 1.4 r120285 - /branches/1.4/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 4 09:11:12 CDT 2008


Author: mmichelson
Date: Wed Jun  4 09:11:12 2008
New Revision: 120285

URL: http://svn.digium.com/view/asterisk?view=rev&rev=120285
Log:
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


Modified:
    branches/1.4/apps/app_queue.c

Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=120285&r1=120284&r2=120285
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Wed Jun  4 09:11:12 2008
@@ -4815,7 +4815,7 @@
 				if (++which > state) {
 					char *tmp;
 					ast_mutex_unlock(&q->lock);
-					tmp = m->membername;
+					tmp = m->interface;
 					ao2_ref(m, -1);
 					return ast_strdup(tmp);
 				}




More information about the asterisk-commits mailing list