]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix patch typo in prevuous commit for 734 from Adi Prasaja.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 8 Feb 2016 08:17:00 +0000 (08:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 8 Feb 2016 08:17:00 +0000 (08:17 +0000)
git-svn-id: file:///svn/unbound/trunk@3614 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c
doc/Changelog

index 8c14e5eaaefd207c35f5bd8ef8341e29e97dbdd7..a981f49842eb2b2db2c711a77c51e3a51facf3f3 100644 (file)
@@ -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 */
index 93bf19a54f3182a7801f6855d67e6b3d264d4d91..fa0d16837661db19868d2c0ddacab8cd58b9ef4a 100644 (file)
@@ -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.