[svn-commits] qwell: trunk r43357 - /trunk/apps/app_queue.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Sep 20 12:46:19 MST 2006


Author: qwell
Date: Wed Sep 20 14:46:18 2006
New Revision: 43357

URL: http://svn.digium.com/view/asterisk?rev=43357&view=rev
Log:
Fix a segfault that was reported by jcmoore in #asterisk-bugs on IRC.

Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?rev=43357&r1=43356&r2=43357&view=diff
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Sep 20 14:46:18 2006
@@ -1063,7 +1063,7 @@
 
 	while ((interface = ast_category_browse(member_config, interface))) {
 		rt_handle_member_record(q, interface,
-			ast_variable_retrieve(member_config, interface, "membername"),
+			S_OR(ast_variable_retrieve(member_config, interface, "membername"), interface),
 			ast_variable_retrieve(member_config, interface, "penalty"));
 	}
 



More information about the svn-commits mailing list