conf: remove direct use of config from reload_config()
authorMichael Adam <obnox@samba.org>
Mon, 7 Dec 2009 06:55:03 +0000 (07:55 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 7 Dec 2009 21:33:27 +0000 (22:33 +0100)
The "conf" argument has to be used.

Michael

src/conf.c

index 262446d64411523dddd9b636aae8fe2489c5485d..128b09ca00ffb8d9a6c76198e0e04571a19f13c5 100644 (file)
@@ -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: