Search
j0ke.net Open Build Service
>
Projects
>
server:dns
>
pdns
> pdns-2.9.22_warnings.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pdns-2.9.22_warnings.patch of Package pdns (Revision 2)
Currently displaying revision
2
,
show latest
Index: modules/pipebackend/pipebackend.cc =================================================================== --- modules/pipebackend/pipebackend.cc.orig 2008-11-16 10:10:10.000000000 +0100 +++ modules/pipebackend/pipebackend.cc 2009-01-28 17:29:18.853326425 +0100 @@ -222,7 +222,7 @@ bool PipeBackend::get(DNSResourceRecord if(parts[3]!="MX") { r.content.clear(); - for(int n=6; n < parts.size(); ++n) { + for(size_t n=6; n < parts.size(); ++n) { if(n!=6) r.content.append(1,' '); r.content.append(parts[n]); Index: modules/ldapbackend/ldapbackend.cc =================================================================== --- modules/ldapbackend/ldapbackend.cc.orig 2009-01-28 17:27:15.000000000 +0100 +++ modules/ldapbackend/ldapbackend.cc 2009-01-28 17:31:23.593753025 +0100 @@ -153,8 +153,8 @@ inline bool LdapBackend::list_simple( co inline bool LdapBackend::list_strict( const string& target, int domain_id ) { - if( target.size() > 13 && target.substr( target.size() - 13, 13 ) == ".in-addr.arpa" || - target.size() > 9 && target.substr( target.size() - 9, 9 ) == ".ip6.arpa" ) + if( (target.size() > 13 && target.substr( target.size() - 13, 13 ) == ".in-addr.arpa") || + (target.size() > 9 && target.substr( target.size() - 9, 9 ) == ".ip6.arpa") ) { L << Logger::Warning << m_myname << " Request for reverse zone AXFR, but this is not supported in strict mode" << endl; return false; // AXFR isn't supported in strict mode. Use simple mode and additional PTR records