summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-07 07:54:19 +0100
committerMichael Adam <obnox@samba.org>2009-12-07 22:33:26 +0100
commitad2f478c46f80b09b59d715b98298c44b00082a6 (patch)
tree9f9f95ec755b601120a4df5456b19f50250f4a6d
parent947d85cefc608d925e2bc89af7e715f64e3467fe (diff)
downloadtinyproxy-ad2f478c46f80b09b59d715b98298c44b00082a6.tar.gz
tinyproxy-ad2f478c46f80b09b59d715b98298c44b00082a6.zip
conf: remove direct reference to config from load_config_file()
This has to use the parameter "conf". Michael
Diffstat (limited to '')
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
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;