]> git.pld-linux.org Git - packages/pdns.git/blame - pdns-int16.patch
- reorganize boost BRs (boost-devel >= 1.35.0).
[packages/pdns.git] / pdns-int16.patch
CommitLineData
196f0df9 1diff -urN org/modules/ldapbackend/ldapbackend.cc mod/modules/ldapbackend/ldapbackend.cc
2--- org/modules/ldapbackend/ldapbackend.cc 2006-03-15 19:29:39.000000000 +0100
3+++ mod/modules/ldapbackend/ldapbackend.cc 2006-04-08 02:07:50.117145250 +0200
4@@ -420,7 +420,7 @@
313ceca8
MW
5 continue;
6 }
7
8- rr.priority = (uint16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 );
9+ rr.priority = (u_int16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 );
10 if( *endptr != '\0' )
11 {
12 L << Logger::Warning << m_myname << " Invalid " << attrname << " without priority for " << m_qname << ": " << content << endl;
196f0df9 13diff -urN org/modules/ldapbackend/powerldap.cc mod/modules/ldapbackend/powerldap.cc
14--- org/modules/ldapbackend/powerldap.cc 2006-03-15 19:29:39.000000000 +0100
15+++ mod/modules/ldapbackend/powerldap.cc 2006-04-08 02:08:31.295718750 +0200
313ceca8
MW
16@@ -2,7 +2,7 @@
17
18
19
196f0df9 20-PowerLDAP::PowerLDAP( const string& hosts, uint16_t port, bool tls )
21+PowerLDAP::PowerLDAP( const string& hosts, u_int16_t port, bool tls )
313ceca8
MW
22 {
23 int protocol = LDAP_VERSION3;
24
196f0df9 25diff -urN org/modules/ldapbackend/powerldap.hh mod/modules/ldapbackend/powerldap.hh
26--- org/modules/ldapbackend/powerldap.hh 2006-03-15 19:29:39.000000000 +0100
27+++ mod/modules/ldapbackend/powerldap.hh 2006-04-08 02:09:04.773811000 +0200
28@@ -79,7 +79,7 @@
313ceca8
MW
29 typedef map<string, vector<string> > sentry_t;
30 typedef vector<sentry_t> sresult_t;
31
196f0df9 32- PowerLDAP( const string& hosts = "ldap://127.0.0.1/", uint16_t port = LDAP_PORT, bool tls = false );
33+ PowerLDAP( const string& hosts = "ldap://127.0.0.1/", u_int16_t port = LDAP_PORT, bool tls = false );
313ceca8
MW
34 ~PowerLDAP();
35
36 void getOption( int option, int* value );
This page took 0.108533 seconds and 4 git commands to generate.