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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 7 04:09:50 CDT 2011


Author: irroot
Date: Tue Jun  7 04:09:45 2011
New Revision: 322180

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=322180
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=322180&r1=322179&r2=322180
==============================================================================
--- team/irroot/app_queue-trunk/apps/app_queue.c (original)
+++ team/irroot/app_queue-trunk/apps/app_queue.c Tue Jun  7 04:09:45 2011
@@ -2134,9 +2134,9 @@
 	}
 
 	if ((config_val = ast_variable_retrieve(member_config, interface, "ignorebusy"))) {
-		ignorebusy=ast_true(config_val);
+		ignorebusy = ast_true(config_val);
 	} else {
-		ignorebusy=1;
+		ignorebusy = 1;
 	}
 
 	/* Find member by realtime uniqueid and update */
@@ -5443,7 +5443,7 @@
 				if (!mem->realtime) {
 					mem->penalty = penalty;
 				} else {
-					sprintf(rtpenalty,"%i",penalty);
+					sprintf(rtpenalty,"%i", penalty);
 					update_realtime_member_field(mem, q->name, "penalty", rtpenalty);
 				}
 				ast_queue_log(q->name, "NONE", interface, "PENALTY", "%d", penalty);




More information about the asterisk-commits mailing list