Fix properly the issue of the verbose level for parsing... (bug #3404 etc)
authorMark Spencer <markster@digium.com>
Fri, 28 Jan 2005 00:31:50 +0000 (00:31 +0000)
committerMark Spencer <markster@digium.com>
Fri, 28 Jan 2005 00:31:50 +0000 (00:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4900 65c4cc65-6c06-0410-ace0-fbb531ad65f3

config.c

index 5738c50..92b9976 100755 (executable)
--- a/config.c
+++ b/config.c
@@ -459,14 +459,14 @@ static struct ast_config *config_text_file_load(const char *database, const char
                        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++;