]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Replace DNSName.toString() in mastercommunicator
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 28 Jun 2016 09:28:03 +0000 (11:28 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 1 Jul 2016 12:34:57 +0000 (14:34 +0200)
pdns/mastercommunicator.cc

index e335c0cd675a0b277786624713cd8695943f53a7..66403dc931b1277d1242fea9732d761d01dc87d8 100644 (file)
@@ -117,7 +117,7 @@ void NotificationQueue::dump()
 {
   cerr<<"Waiting for notification responses: "<<endl;
   for(NotificationRequest& nr :  d_nqueue) {
-    cerr<<nr.domain.toString()<<", "<<nr.ip<<endl;
+    cerr<<nr.domain<<", "<<nr.ip<<endl;
   }
 }
 
@@ -207,7 +207,7 @@ time_t CommunicatorClass::doNotifications()
         drillHole(domain, ip);
       }
       catch(ResolverException &re) {
-        L<<Logger::Error<<"Error trying to resolve '"+ip+"' for notifying '"+domain.toString()+"' to server: "+re.reason<<endl;
+        L<<Logger::Error<<"Error trying to resolve '"<<ip<<"' for notifying '"<<domain<<"' to server: "<<re.reason<<endl;
       }
     }
     else