]> git.ipfire.org Git - thirdparty/pdns.git/commit
Change the logic a bit, as negcache->get() can be called with qtype = QType:::ENT, 12455/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 21 Dec 2022 09:12:46 +0000 (10:12 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Jan 2023 15:39:01 +0000 (16:39 +0100)
commitee715fd098e3ea8176b295d40886d56c3d5ac0b4
treee31007ddc9b8b41411e42ad5a67ffb527982e43d
parent5e46123427367562f118a1809417efd8fea8a9ff
Change the logic a bit, as negcache->get() can be called with qtype = QType:::ENT,
but we do not want to push a task with QType::ENT

Also change a few QType& to QType, it's a small int, no need to pass by reference.

(cherry picked from commit 2541e0f53c6abba298b4a86032bdbc7dfff3ee03)
pdns/recursordist/negcache.cc
pdns/recursordist/negcache.hh