]> git.ipfire.org Git - thirdparty/bind9.git/commit
Expand the usage of mark_ancient() helper functions
authorOndřej Surý <ondrej@isc.org>
Sun, 2 Feb 2025 12:56:37 +0000 (13:56 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 3 Feb 2025 14:53:34 +0000 (15:53 +0100)
commit302aca809d15908e932646cc0be51e133e0343bc
tree8a8bb230da8a0837d1ff479f856a9d9e5a3a701f
parent4b114838de3291c3d555935f2a42f62383b917d1
Expand the usage of mark_ancient() helper functions

When the mark_ancient() helper function was introduced, couple of places
with duplicate (or almost duplicate) code was missed.  Move the
mark_ancient() function closer to the top of the file, and correctly use
it in places that mark the header as ANCIENT.

(cherry picked from commit 58179e6a192998a49732df57847091e42c654f0b)
lib/dns/qpcache.c
lib/dns/rbt-cachedb.c
lib/dns/rbtdb.c
lib/dns/rbtdb_p.h