# HG changeset patch # User lgb # Date 991532788 0 # Node ID 8618658d3ef8f2bb33287fd2a88205cbfa8b16f0 # Parent 05088aa856105b3f12264f20925bf2c97fdd318b Removing annoying 'Reading config file ...' message when you run without verbose mode (-v) diff -r 05088aa85610 -r 8618658d3ef8 cfgparser.c --- a/cfgparser.c Sun Jun 03 00:41:07 2001 +0000 +++ b/cfgparser.c Sun Jun 03 01:46:28 2001 +0000 @@ -30,6 +30,8 @@ #include "cfgparser.h" +extern int verbose; + static struct config *config; static int nr_options; /* number of options in 'conf' */ static int parser_mode; /* COMMAND_LINE or CONFIG_FILE */ @@ -251,7 +253,7 @@ return -1; } - printf("Reading config file: %s", conffile); + if (verbose) printf("Reading config file: %s", conffile); if (init_conf(conf, CONFIG_FILE) == -1) { ret = -1;