[asterisk-commits] irroot: branch irroot/app_queue-trunk r322178 - /team/irroot/app_queue-trunk/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 7 03:45:42 CDT 2011


Author: irroot
Date: Tue Jun  7 03:45:38 2011
New Revision: 322178

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=322178
Log:
Some Code Cleanups +1

Modified:
    team/irroot/app_queue-trunk/apps/app_queue.c

Modified: team/irroot/app_queue-trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/app_queue-trunk/apps/app_queue.c?view=diff&rev=322178&r1=322177&r2=322178
==============================================================================
--- team/irroot/app_queue-trunk/apps/app_queue.c (original)
+++ team/irroot/app_queue-trunk/apps/app_queue.c Tue Jun  7 03:45:38 2011
@@ -2107,11 +2107,11 @@
 	int ignorebusy = 0;
 
 	const char *config_val;
-	const char *rt_uniqueid=ast_variable_retrieve(member_config, interface, "uniqueid");
-	const char *membername=S_OR(ast_variable_retrieve(member_config, interface, "membername"),interface);
-	const char *state_interface=S_OR(ast_variable_retrieve(member_config, interface, "state_interface"),interface);
-	const char *penalty_str=ast_variable_retrieve(member_config, interface, "penalty");
-	const char *paused_str=ast_variable_retrieve(member_config, interface, "paused");
+	const char *rt_uniqueid = ast_variable_retrieve(member_config, interface, "uniqueid");
+	const char *membername = S_OR(ast_variable_retrieve(member_config, interface, "membername"), interface);
+	const char *state_interface = S_OR(ast_variable_retrieve(member_config, interface, "state_interface"), interface);
+	const char *penalty_str = ast_variable_retrieve(member_config, interface, "penalty");
+	const char *paused_str = ast_variable_retrieve(member_config, interface, "paused");
 
 	if (ast_strlen_zero(rt_uniqueid)) {
 		ast_log(LOG_WARNING, "Realtime field uniqueid is empty for member %s\n", S_OR(membername, "NULL"));
@@ -2160,8 +2160,8 @@
 	}
 	ao2_iterator_destroy(&mem_iter);
 
- 	/* Create a new member */
- 	if (!found) {
+	/* Create a new member */
+	if (!found) {
 		if ((m = create_queue_member(interface, membername, penalty, paused, state_interface))) {
 			m->dead = 0;
 			m->realtime = 1;




More information about the asterisk-commits mailing list