summaryrefslogtreecommitdiffstats
path: root/cfgparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'cfgparser.c')
-rw-r--r--cfgparser.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cfgparser.c b/cfgparser.c
index ea07e0c18c..350bf8efe2 100644
--- a/cfgparser.c
+++ b/cfgparser.c
@@ -30,8 +30,6 @@
#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 */
@@ -253,8 +251,6 @@ int parse_config_file(struct config *conf, char *conffile)
return -1;
}
-// printf("Reading config file: %s", conffile);
-
if (init_conf(conf, CONFIG_FILE) == -1) {
ret = -1;
goto out;
@@ -267,12 +263,10 @@ int parse_config_file(struct config *conf, char *conffile)
}
if ((fp = fopen(conffile, "r")) == NULL) {
-// printf(": %s\n", strerror(errno));
free(line);
ret = 0;
goto out;
}
-// printf("\n");
while (fgets(line, MAX_LINE_LEN, fp)) {
line_num++;