[Asterisk-cvs] asterisk config.c,1.37,1.38

markster at lists.digium.com markster at lists.digium.com
Sat Dec 11 17:49:05 CST 2004


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

Modified Files:
	config.c 
Log Message:
Revert earlier patch (bug #2825)


Index: config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/config.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- config.c	11 Dec 2004 20:03:42 -0000	1.37
+++ config.c	11 Dec 2004 22:46:10 -0000	1.38
@@ -303,7 +303,8 @@
 						if(arg && cur) {
 							ast_log(LOG_WARNING, "Including files with explicit config engine no longer permitted.  Please use extconfig.conf to specify all mappings\n");
 						} else {
-							__ast_load(cur, tmp, _tmpc, _last, includelevel + 1);
+							if (!__ast_load(cur, tmp, _tmpc, _last, includelevel + 1))
+								return -1;
 						}
 					} else
 						ast_log(LOG_WARNING, "Maximum Include level (%d) exceeded\n", includelevel);




More information about the svn-commits mailing list