]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup ;.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 26 Jan 2016 08:27:40 +0000 (08:27 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 26 Jan 2016 08:27:40 +0000 (08:27 +0000)
git-svn-id: file:///svn/unbound/trunk@3605 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c

index 4966acc335301d8398d123bd76e6cb2b6af37307..60dd7ba64b761e5ea5a871869ee4c57a1e8530ed 100644 (file)
@@ -485,7 +485,7 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode,
        const int pidinchroot = !(cfg->chrootdir && cfg->chrootdir[0]) ||
                                (cfg->chrootdir && cfg->chrootdir[0] &&
                                strncmp(daemon->pidfile, cfg->chrootdir,
-                               strlen(cfg->chrootdir))==0)
+                               strlen(cfg->chrootdir))==0);
 
        /* check old pid file before forking */
        if(cfg->pidfile && cfg->pidfile[0]) {