Fixing "parsing" bug in config.c (AGAIN!)
authorAnthony Minessale II <anthmct@yahoo.com>
Thu, 27 Jan 2005 21:10:44 +0000 (21:10 +0000)
committerAnthony Minessale II <anthmct@yahoo.com>
Thu, 27 Jan 2005 21:10:44 +0000 (21:10 +0000)
if you had a verbose of 2 you got the following:
Parsing '/etc/asterisk/cdr_odbc.conf':   == Parsing '/etc/asterisk/confcall.conf': *CLI>   == Parsing '/etc/asterisk/sip_notify.conf':
the carraige return only prints on verbose of 3 or more so i am again moving them to be the same.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4899 65c4cc65-6c06-0410-ace0-fbb531ad65f3

config.c

index ebb2e11..5738c50 100755 (executable)
--- a/config.c
+++ b/config.c
@@ -459,7 +459,7 @@ 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 > 1) && !option_debug) {
+       if ((option_verbose > 2) && !option_debug) {
                ast_verbose(  VERBOSE_PREFIX_2 "Parsing '%s': ", fn);
                fflush(stdout);
        }