]> git.ipfire.org Git - thirdparty/pdns.git/commit
Change the logic a bit, as negcache->get() can be called with qtype = QType:::ENT, 12352/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>
Wed, 21 Dec 2022 09:12:46 +0000 (10:12 +0100)
commit2541e0f53c6abba298b4a86032bdbc7dfff3ee03
tree43e22fa73fa7ccb6f9ad88c9677c015f1afdcf0c
parentcce57cb0c4a7112c02b82549149818faccaaa5f7
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.
pdns/recursordist/negcache.cc
pdns/recursordist/negcache.hh