From c46e1a1ee83ea39a1df77b6a2259803654bb5c2a Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 9 Oct 2007 07:53:35 +0000 Subject: [PATCH] cleaner. git-svn-id: file:///svn/unbound/trunk@669 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/unbound.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)) -- 2.47.2