]> git.ipfire.org Git - thirdparty/pdns.git/commit
misc: Use boost::ends_with() in isCanonical instead of open-coding 14984/head
authorUwe Kleine-König <uwe@kleine-koenig.org>
Wed, 18 Dec 2024 09:04:02 +0000 (10:04 +0100)
committerUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 15 Jul 2025 11:12:03 +0000 (13:12 +0200)
commitb8a86db27a447eeada01e729df6c7e539cf2e14e
tree1ba1168fcbd21d75404b54efe2b97fc8093796b6
parentf979a674c9bc4cb21e8400dd4a76418fc7d56d5e
misc: Use boost::ends_with() in isCanonical instead of open-coding

boost:ends_with(qname, ".") behaves exactly as isCanonical(qname)
should. So use the first to implement the latter.
pdns/misc.hh