]> git.ipfire.org Git - thirdparty/bind9.git/commit
Squash set_offsets() and dns_name_offsets() into single function
authorOndřej Surý <ondrej@isc.org>
Mon, 24 Feb 2025 13:29:55 +0000 (14:29 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 25 Feb 2025 11:17:34 +0000 (12:17 +0100)
commit67e1df1a07f0ab67b5f81341b1aeed461db3b968
tree606cce4437395dc85eb7795074d3c790a09696a9
parent79c3871a7b37db82902bac6f8445c0c7ae19a761
Squash set_offsets() and dns_name_offsets() into single function

The third argument to set_offsets() was only used in
dns_name_fromregion() and not really needed.  We can remove the third
argument and then manually check whether the last label is root label.
lib/dns/name.c