[svn-commits] mmichelson: trunk r98993 - /trunk/apps/app_queue.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 17 10:26:41 CST 2008


Author: mmichelson
Date: Thu Jan 17 10:26:41 2008
New Revision: 98993

URL: http://svn.digium.com/view/asterisk?view=rev&rev=98993
Log:
Get the device state of the state interface instead of the interface when creating a new queue member.
Thanks to Atis Lezdins for bringing this up on the Asterisk-Dev mailing list.


Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=98993&r1=98992&r2=98993
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Jan 17 10:26:41 2008
@@ -842,7 +842,7 @@
 			ast_copy_string(cur->membername, interface, sizeof(cur->membername));
 		if (!strchr(cur->interface, '/'))
 			ast_log(LOG_WARNING, "No location at interface '%s'\n", interface);
-		cur->status = ast_device_state(interface);
+		cur->status = ast_device_state(state_interface);
 	}
 
 	return cur;




More information about the svn-commits mailing list