[asterisk-commits] rmudgett: trunk r393600 - /trunk/main/stasis_config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 3 17:05:55 CDT 2013


Author: rmudgett
Date: Wed Jul  3 17:05:54 2013
New Revision: 393600

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393600
Log:
Fix some indentation in stasis_config.c.

Modified:
    trunk/main/stasis_config.c

Modified: trunk/main/stasis_config.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/stasis_config.c?view=diff&rev=393600&r1=393599&r2=393600
==============================================================================
--- trunk/main/stasis_config.c (original)
+++ trunk/main/stasis_config.c Wed Jul  3 17:05:54 2013
@@ -152,18 +152,19 @@
 {
 	RAII_VAR(struct stasis_conf *, conf, conf_alloc(), ao2_cleanup);
 
-		switch (aco_process_config(&cfg_info, reload)) {
-		case ACO_PROCESS_ERROR:
-			if (conf && !reload && !aco_set_defaults(&threadpool_option, "threadpool", conf->threadpool)) {
-				ast_log(AST_LOG_NOTICE, "Failed to process Stasis configuration; using defaults\n");
-				ao2_global_obj_replace(confs, conf);
-				return 0;
-			}
-			return -1;
-		case ACO_PROCESS_OK:
-		case ACO_PROCESS_UNCHANGED:
-			break;
+	switch (aco_process_config(&cfg_info, reload)) {
+	case ACO_PROCESS_ERROR:
+		if (conf && !reload
+			&& !aco_set_defaults(&threadpool_option, "threadpool", conf->threadpool)) {
+			ast_log(AST_LOG_NOTICE, "Failed to process Stasis configuration; using defaults\n");
+			ao2_global_obj_replace(confs, conf);
+			return 0;
 		}
+		return -1;
+	case ACO_PROCESS_OK:
+	case ACO_PROCESS_UNCHANGED:
+		break;
+	}
 
 	return 0;
 }




More information about the asterisk-commits mailing list