SOURCES: pdns-int16.patch (NEW) - up to 2.9.19, rel 0.1 - works bu...

mwinkler mwinkler at pld-linux.org
Thu Nov 17 19:10:57 CET 2005


Author: mwinkler                     Date: Thu Nov 17 18:10:57 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- up to 2.9.19, rel 0.1
- works but backend not tested

---- Files affected:
SOURCES:
   pdns-int16.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pdns-int16.patch
diff -u /dev/null SOURCES/pdns-int16.patch:1.1
--- /dev/null	Thu Nov 17 19:10:57 2005
+++ SOURCES/pdns-int16.patch	Thu Nov 17 19:10:52 2005
@@ -0,0 +1,36 @@
+diff -Naur pdns-2.9.19-orig/modules/ldapbackend/ldapbackend.cc pdns-2.9.19/modules/ldapbackend/ldapbackend.cc
+--- pdns-2.9.19-orig/modules/ldapbackend/ldapbackend.cc	2005-09-03 18:12:43.000000000 +0000
++++ pdns-2.9.19/modules/ldapbackend/ldapbackend.cc	2005-11-16 17:22:33.000000000 +0000
+@@ -429,7 +429,7 @@
+ 								continue;
+ 							}
+ 
+-							rr.priority = (uint16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 );
++							rr.priority = (u_int16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 );
+ 							if( *endptr != '\0' )
+ 							{
+ 								L << Logger::Warning << m_myname << " Invalid " << attrname << " without priority for " << m_qname << ": " << content << endl;
+diff -Naur pdns-2.9.19-orig/modules/ldapbackend/powerldap.cc pdns-2.9.19/modules/ldapbackend/powerldap.cc
+--- pdns-2.9.19-orig/modules/ldapbackend/powerldap.cc	2005-09-03 18:12:43.000000000 +0000
++++ pdns-2.9.19/modules/ldapbackend/powerldap.cc	2005-11-16 17:22:59.000000000 +0000
+@@ -2,7 +2,7 @@
+ 
+ 
+ 
+-PowerLDAP::PowerLDAP( const string& host, uint16_t port, bool tls )
++PowerLDAP::PowerLDAP( const string& host, u_int16_t port, bool tls )
+ {
+ 	int protocol = LDAP_VERSION3;
+ 
+diff -Naur pdns-2.9.19-orig/modules/ldapbackend/powerldap.hh pdns-2.9.19/modules/ldapbackend/powerldap.hh
+--- pdns-2.9.19-orig/modules/ldapbackend/powerldap.hh	2005-09-03 18:12:43.000000000 +0000
++++ pdns-2.9.19/modules/ldapbackend/powerldap.hh	2005-11-16 17:23:23.000000000 +0000
+@@ -69,7 +69,7 @@
+ 	typedef map<string, vector<string> > sentry_t;
+ 	typedef vector<sentry_t> sresult_t;
+ 
+-	PowerLDAP( const string& host = "127.0.0.1", uint16_t port = LDAP_PORT, bool tls = false );
++	PowerLDAP( const string& host = "127.0.0.1", u_int16_t port = LDAP_PORT, bool tls = false );
+ 	~PowerLDAP();
+ 
+ 	void getOption( int option, int* value );
================================================================



More information about the pld-cvs-commit mailing list