]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #803: confusing (and incorrect) code comment in daemon_cleanup().
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 22 Jul 2016 07:08:42 +0000 (07:08 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 22 Jul 2016 07:08:42 +0000 (07:08 +0000)
git-svn-id: file:///svn/unbound/trunk@3824 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/daemon.c
doc/Changelog

index 0895c96f27699841ca54005e4e3c21bb29b3356e..0494ddfbe739c22143f838e2f35b0bc22c165c77 100644 (file)
@@ -594,7 +594,7 @@ daemon_cleanup(struct daemon* daemon)
        slabhash_clear(daemon->env->msg_cache);
        local_zones_delete(daemon->local_zones);
        daemon->local_zones = NULL;
-       /* key cache is cleared by module desetup during next daemon_init() */
+       /* key cache is cleared by module desetup during next daemon_fork() */
        daemon_remote_clear(daemon->rc);
        for(i=0; i<daemon->num; i++)
                worker_delete(daemon->workers[i]);
index e118fc67c48c65d0f6ca1b4e50896dd90c7675fc..d89d8d46780adeecc74bef1995a8a06147c2d21e 100644 (file)
@@ -3,6 +3,7 @@
          daemon_create_workers().
        - Fix #802: workaround for function parameters that are "unused"
          without log_assert.
+       - Fix #803: confusing (and incorrect) code comment in daemon_cleanup().
 
 20 July 2016: Wouter
        - Fix typo in unbound.conf.