]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Refactor resolver cache_name() and validated() functions
authorOndřej Surý <ondrej@isc.org>
Tue, 5 Aug 2025 11:27:59 +0000 (13:27 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 5 Aug 2025 11:27:59 +0000 (13:27 +0200)
These functions were excessive in length and complexity, with McCabe complexity values of 110 and 105 respectively, and also included some dead code. They have been cleaned up and split into smaller functions, with a maximum complexity of 27.  A few minor coding errors were discovered and fixed along the way.

Merge branch 'each-refactor-cache-name' into 'main'

See merge request isc-projects/bind9!10198


Trivial merge