File pdns-recursor-3.1.7_parentheses_warning.patch of Package pdns-recursor

Index: syncres.cc
===================================================================
--- syncres.cc.orig	2008-03-30 22:41:25.000000000 +0200
+++ syncres.cc	2008-05-20 16:24:23.078429364 +0200
@@ -821,8 +821,8 @@ int SyncRes::doResolveAt(set<string, CIS
 	else if(i->d_place==DNSResourceRecord::ANSWER && !Utility::strcasecmp(i->qname.c_str(),qname.c_str()) && 
 		(i->qtype==qtype || 
 		 (
-		  lwr.d_aabit && 
-		     ( qtype == QType(QType::ADDR) && (i->qtype.getCode()==QType::A || i->qtype.getCode()==QType::AAAA) ) || qtype==QType(QType::ANY) 
+		  (lwr.d_aabit &&
+		     ( qtype == QType(QType::ADDR) && (i->qtype.getCode()==QType::A || i->qtype.getCode()==QType::AAAA) ) ) || qtype==QType(QType::ANY)
 		  )   
 		 ) 
 		)   {
openSUSE Build Service is sponsored by