]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactoring in qpcache.c:add()
authorOndřej Surý <ondrej@isc.org>
Wed, 27 Aug 2025 04:58:39 +0000 (06:58 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 28 Aug 2025 17:28:55 +0000 (19:28 +0200)
commit7b7901494d53d6222824ca5b435953d55a73fceb
tree24d612beb7f3f27a5607d667bbc541cbe1683563
parente3c0a2a0fdeb4eb567524785e8b8773933e5329c
Refactoring in qpcache.c:add()

There were several consequtive foreach loops when adding new entry into
the cache.  Merge the multiple foreach loops into a single pass loop
with some effort and a lot of comments.
lib/dns/qpcache.c