[Asterisk-cvs] asterisk/pbx pbx_spool.c,1.33,1.34

twisted twisted
Sun Nov 20 05:43:08 CST 2005


Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv14521/pbx

Modified Files:
	pbx_spool.c 
Log Message:
Make conform to coding guidelines... thanks drumkilla :)


Index: pbx_spool.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_spool.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- pbx_spool.c	20 Nov 2005 06:59:42 -0000	1.33
+++ pbx_spool.c	20 Nov 2005 10:32:28 -0000	1.34
@@ -202,15 +202,13 @@
 				} else if (!strcasecmp(buf, "setvar") || !strcasecmp(buf, "set")) {
 					c2 = c;
 					strsep(&c2, "=");
-					if (c2)
-					{
+					if (c2) {
 						var = ast_variable_new(c, c2);
 						if (var) {
 							var->next = o->vars;
 							o->vars = var;
 						}
-					}
-					else
+					} else
 						ast_log(LOG_WARNING, "Malformed \"%s\" argument.  Should be \"%s: variable=value\"\n", buf, buf);
 				} else if (!strcasecmp(buf, "account")) {
 					var = ast_variable_new("CDR(accountcode|r)", c);




More information about the svn-commits mailing list