]> granicus.if.org Git - pdns/commitdiff
rec: Fix a compilation issue in the SyncRes unit tests
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 9 Oct 2018 08:48:51 +0000 (10:48 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 9 Oct 2018 08:48:51 +0000 (10:48 +0200)
Introduced by a conflict between #6708 and #6979.

pdns/recursordist/test-syncres_cc.cc

index 6fb0f90c36863cd0a0099f5a19161bd3f84c098b..a7280c026783a681cc9ca4c55575796bccde1074 100644 (file)
@@ -10081,7 +10081,7 @@ BOOST_AUTO_TEST_CASE(test_cname_plus_authority_auth) {
   const DNSName cnameTarget("cname-target.powerdns.com");
   size_t queriesCount = 0;
 
-  sr->setAsyncCallback([target, cnameTarget, &queriesCount](const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional<Netmask>& srcmask, boost::optional<const ResolveContext&> context, std::shared_ptr<RemoteLogger> outgoingLogger, LWResult* res, bool* chained) {
+  sr->setAsyncCallback([target, cnameTarget, &queriesCount](const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional<Netmask>& srcmask, boost::optional<const ResolveContext&> context, LWResult* res, bool* chained) {
 
       queriesCount++;