From: Aki Tuomi Date: Mon, 21 Oct 2019 09:25:10 +0000 (+0300) Subject: slavecommunicator.cc: Rename notify as doNotify X-Git-Tag: dnsdist-1.4.0~15^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9efb597d358cc5b668def9228ffc01217f6378a2;p=thirdparty%2Fpdns.git slavecommunicator.cc: Rename notify as doNotify rfc2136handler.cc:616:30: warning: declaration of 'forwardPacket' shadows a member of 'this' --- diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index 5b68c28600..6ca6128504 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -599,14 +599,14 @@ void CommunicatorClass::suck(const DNSName &domain, const ComboAddress& remote) g_log< meta; if(B.getDomainMetadata(domain, "SLAVE-RENOTIFY", meta ) && !meta.empty()) { - notify=(meta.front() == "1"); + doNotify=(meta.front() == "1"); } else { - notify=(::arg().mustDo("slave-renotify")); + doNotify=(::arg().mustDo("slave-renotify")); } - if(notify) { + if(doNotify) { notifyDomain(domain, &B); }