]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
cleaner.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 9 Oct 2007 07:53:35 +0000 (07:53 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 9 Oct 2007 07:53:35 +0000 (07:53 +0000)
git-svn-id: file:///svn/unbound/trunk@669 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c

index bbc89de14ca5f0c8f252b0d9d9a424b4d792756a..e696fffbd04aa58244ed50f682f50b23ffa585d1 100644 (file)
@@ -111,8 +111,7 @@ checkrlimits(struct config_file* cfg)
 
 /** to changedir, logfile */
 static void
-apply_dir(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose,
-       int debug_mode)
+apply_dir(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose)
 {
        /* apply if they have changed */
        daemon->cfg = cfg;
@@ -322,7 +321,7 @@ run_daemon(const char* cfgfile, int cmdline_verbose, int debug_mode)
                        fatal_exit("Could not alloc config defaults");
                if(!config_read(cfg, cfgfile))
                        fatal_exit("Could not read config file: %s", cfgfile);
-               apply_dir(daemon, cfg, cmdline_verbose, debug_mode);
+               apply_dir(daemon, cfg, cmdline_verbose);
        
                /* prepare */
                if(!daemon_open_shared_ports(daemon))