From: Wouter Wijngaards Date: Tue, 9 Oct 2007 07:53:35 +0000 (+0000) Subject: cleaner. X-Git-Tag: release-0.6~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c46e1a1ee83ea39a1df77b6a2259803654bb5c2a;p=thirdparty%2Funbound.git cleaner. git-svn-id: file:///svn/unbound/trunk@669 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/unbound.c b/daemon/unbound.c index bbc89de14..e696fffbd 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -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))