From ad2f478c46f80b09b59d715b98298c44b00082a6 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 7 Dec 2009 07:54:19 +0100 Subject: conf: remove direct reference to config from load_config_file() This has to use the parameter "conf". Michael --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf.c b/src/conf.c index 7fa2a4b..262446d 100644 --- a/src/conf.c +++ b/src/conf.c @@ -377,7 +377,7 @@ int load_config_file (const char *config_fname, struct config_s *conf) return -1; } - if (config_compile () || config_parse (&config, config_file)) { + if (config_compile () || config_parse (conf, config_file)) { fprintf (stderr, "Unable to parse config file. " "Not starting.\n"); return -1; -- cgit v1.2.3