diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-28 00:31:50 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-28 00:31:50 +0000 |
commit | 49ba8d587dbddaebe0f7fd8db5c3b51016cb25ab (patch) | |
tree | 34c6bf86d430aff66c97e45de7fb3f1461f5f65c | |
parent | 7051d3e4b141bb0f52000d1203b567285fb1ff56 (diff) |
Fix properly the issue of the verbose level for parsing... (bug #3404 etc)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4900 f38db490-d61c-443f-a65b-d21fe96a405b
-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++; |