[Asterisk-cvs] asterisk pbx.c,1.137,1.138

markster at lists.digium.com markster at lists.digium.com
Fri Jul 16 22:39:50 CDT 2004


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv14503

Modified Files:
	pbx.c 
Log Message:
Typo / whitespace fixes (bug #2052)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- pbx.c	14 Jul 2004 07:44:19 -0000	1.137
+++ pbx.c	17 Jul 2004 02:25:53 -0000	1.138
@@ -5,7 +5,7 @@
  * 
  * Copyright (C) 1999, Mark Spencer
  *
- * Mark Spencer <markster at linux-support.net>
+ * Mark Spencer <markster at digium.com>
  *
  * This program is free software, distributed under the terms of
  * the GNU General Public License
@@ -57,45 +57,40 @@
 
 struct ast_context;
[...1444 lines suppressed...]
 	return res;
@@ -4682,6 +4721,7 @@
 int load_pbx(void)
 {
 	int x;
+
 	/* Initialize the PBX */
 	if (option_verbose) {
 		ast_verbose( "Asterisk PBX Core Initializing\n");
@@ -4692,7 +4732,9 @@
 	ast_cli_register(&show_application_cli);
 	ast_cli_register(&show_dialplan_cli);
 	ast_cli_register(&show_switches_cli);
-	for (x=0;x<sizeof(builtins) / sizeof(struct pbx_builtin); x++) {
+
+	/* Register builtin applications */
+	for (x=0; x<sizeof(builtins) / sizeof(struct pbx_builtin); x++) {
 		if (option_verbose)
 			ast_verbose( VERBOSE_PREFIX_1 "[%s]\n", builtins[x].name);
 		if (ast_register_application(builtins[x].name, builtins[x].execute, builtins[x].synopsis, builtins[x].description)) {




More information about the svn-commits mailing list