From: Remi Gacogne Date: Fri, 11 Jan 2019 14:27:58 +0000 (+0100) Subject: rec: Appease the Gods of spell checking X-Git-Tag: rec-4.2.0-alpha1~34^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b027d9ef99804e80c90958e496a1b4439b57699;p=pdns rec: Appease the Gods of spell checking --- diff --git a/pdns/filterpo.cc b/pdns/filterpo.cc index 75d3cbe55..dc7fc5e37 100644 --- a/pdns/filterpo.cc +++ b/pdns/filterpo.cc @@ -283,9 +283,9 @@ bool DNSFilterEngine::Zone::rmQNameTrigger(const DNSName& n, const Policy& pol) } bool result = false; - for (auto& toremove : pol.d_custom) { + for (auto& toRemove : pol.d_custom) { for (auto it = existing.d_custom.begin(); it != existing.d_custom.end(); ++it) { - if (**it == *toremove) { + if (**it == *toRemove) { existing.d_custom.erase(it); result = true; break;