From: Wouter Wijngaards Date: Mon, 8 Feb 2016 08:17:00 +0000 (+0000) Subject: - Fix patch typo in prevuous commit for 734 from Adi Prasaja. X-Git-Tag: release-1.5.8~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d070c9305a6ce4e234fa0707643e64732ac004d;p=thirdparty%2Funbound.git - Fix patch typo in prevuous commit for 734 from Adi Prasaja. git-svn-id: file:///svn/unbound/trunk@3614 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/unbound.c b/daemon/unbound.c index 8c14e5eaa..a981f4984 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -487,7 +487,7 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, /* true if pidfile is inside chrootdir, or nochroot */ pidinchroot = !(cfg->chrootdir && cfg->chrootdir[0]) || (cfg->chrootdir && cfg->chrootdir[0] && - strncmp(daemon->pidfile, cfg->chrootdir, + strncmp(cfg->pidfile, cfg->chrootdir, strlen(cfg->chrootdir))==0); /* check old pid file before forking */ diff --git a/doc/Changelog b/doc/Changelog index 93bf19a54..fa0d16837 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +8 February 2016: Wouter + - Fix patch typo in prevuous commit for 734 from Adi Prasaja. + 29 January 2016: Wouter - Neater cmdline_verbose increment patch from Edgar Pettijohn.