[asterisk-commits] mmichelson: branch group/manager2 r110473 - /team/group/manager2/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 21 09:02:40 CDT 2008


Author: mmichelson
Date: Fri Mar 21 09:02:39 2008
New Revision: 110473

URL: http://svn.digium.com/view/asterisk?view=rev&rev=110473
Log:
Some coding guidelines fixups


Modified:
    team/group/manager2/res/res_manager2.c

Modified: team/group/manager2/res/res_manager2.c
URL: http://svn.digium.com/view/asterisk/team/group/manager2/res/res_manager2.c?view=diff&rev=110473&r1=110472&r2=110473
==============================================================================
--- team/group/manager2/res/res_manager2.c (original)
+++ team/group/manager2/res/res_manager2.c Fri Mar 21 09:02:39 2008
@@ -79,7 +79,7 @@
 {
 	struct info_event *event = NULL;
 	
-	while(!info_thread.stop) {
+	while (!info_thread.stop) {
 		struct ast_event_iterator iter;
 		int res = 0;
 		struct ast_str *buf;
@@ -91,11 +91,13 @@
 		ast_mutex_unlock(&info_thread.lock);
 
 		/* break if it's time to stop this thread's execution */
-		if (info_thread.stop)
+		if (info_thread.stop) {
 			break;
+		}
 
-		if (!event)
+		if (!event) {
 			continue;
+		}
 
 		if (!(buf = ast_str_thread_get(&manager_event_buf, MANAGER_EVENT_BUF_INITSIZE))) {
 			/* OH CRAP */




More information about the asterisk-commits mailing list