diff options
author | Mark Spencer <markster@digium.com> | 2005-01-28 00:31:50 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-01-28 00:31:50 +0000 |
commit | 976bdba2d12e859a9adab37f81c958873c512e07 (patch) | |
tree | 34c6bf86d430aff66c97e45de7fb3f1461f5f65c /config.c | |
parent | dad010329b70e1f8e15e88888435f0404135ffcf (diff) |
Fix properly the issue of the verbose level for parsing... (bug #3404 etc)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'config.c')
-rwxr-xr-x | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++; |