From 9efb597d358cc5b668def9228ffc01217f6378a2 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Mon, 21 Oct 2019 12:25:10 +0300 Subject: [PATCH] slavecommunicator.cc: Rename notify as doNotify rfc2136handler.cc:616:30: warning: declaration of 'forwardPacket' shadows a member of 'this' --- pdns/slavecommunicator.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } -- 2.47.2