[Asterisk-cvs] asterisk config.c,1.51,1.52

markster at lists.digium.com markster at lists.digium.com
Thu Jan 27 18:29:50 CST 2005


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

Modified Files:
	config.c 
Log Message:
Fix properly the issue of the verbose level for parsing... (bug #3404 etc)


Index: config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/config.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- config.c	27 Jan 2005 21:10:44 -0000	1.51
+++ config.c	28 Jan 2005 00:31:50 -0000	1.52
@@ -459,14 +459,14 @@
 			for (i=0; i<globbuf.gl_pathc; i++) {
 				strncpy(fn, globbuf.gl_pathv[i], sizeof(fn)-1);
 #endif
-	if ((option_verbose > 2) && !option_debug) {
+	if ((option_verbose > 1) && !option_debug) {
 		ast_verbose(  VERBOSE_PREFIX_2 "Parsing '%s': ", fn);
 		fflush(stdout);
 	}
 	if ((f = fopen(fn, "r"))) {
 		if (option_debug)
 			ast_log(LOG_DEBUG, "Parsing %s\n", fn);
-		else if (option_verbose > 2)
+		else if (option_verbose > 1)
 			ast_verbose("Found\n");
 		while(!feof(f)) {
 			lineno++;




More information about the svn-commits mailing list