summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-07 07:55:03 +0100
committerMichael Adam <obnox@samba.org>2009-12-07 22:33:27 +0100
commit4b54fc203ffd9fee03a0d0d57932ef929a1876b6 (patch)
tree1dea85ccd4f63ceb24108779d8d175050878747d
parentad2f478c46f80b09b59d715b98298c44b00082a6 (diff)
conf: remove direct use of config from reload_config()
The "conf" argument has to be used. Michael
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 262446d..128b09c 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -515,7 +515,7 @@ int reload_config (const char *config_fname, struct config_s *conf,
"Only values greater than zero are allowed. "
"Therefore setting idle timeout to %u seconds.",
MAX_IDLE_TIME);
- config.idletimeout = MAX_IDLE_TIME;
+ conf->idletimeout = MAX_IDLE_TIME;
}
done: