]>
Commit | Line | Data |
---|---|---|
313ceca8 MW |
1 | diff -Naur pdns-2.9.19-orig/modules/ldapbackend/ldapbackend.cc pdns-2.9.19/modules/ldapbackend/ldapbackend.cc |
2 | --- pdns-2.9.19-orig/modules/ldapbackend/ldapbackend.cc 2005-09-03 18:12:43.000000000 +0000 | |
3 | +++ pdns-2.9.19/modules/ldapbackend/ldapbackend.cc 2005-11-16 17:22:33.000000000 +0000 | |
4 | @@ -429,7 +429,7 @@ | |
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; | |
13 | diff -Naur pdns-2.9.19-orig/modules/ldapbackend/powerldap.cc pdns-2.9.19/modules/ldapbackend/powerldap.cc | |
14 | --- pdns-2.9.19-orig/modules/ldapbackend/powerldap.cc 2005-09-03 18:12:43.000000000 +0000 | |
15 | +++ pdns-2.9.19/modules/ldapbackend/powerldap.cc 2005-11-16 17:22:59.000000000 +0000 | |
16 | @@ -2,7 +2,7 @@ | |
17 | ||
18 | ||
19 | ||
20 | -PowerLDAP::PowerLDAP( const string& host, uint16_t port, bool tls ) | |
21 | +PowerLDAP::PowerLDAP( const string& host, u_int16_t port, bool tls ) | |
22 | { | |
23 | int protocol = LDAP_VERSION3; | |
24 | ||
25 | diff -Naur pdns-2.9.19-orig/modules/ldapbackend/powerldap.hh pdns-2.9.19/modules/ldapbackend/powerldap.hh | |
26 | --- pdns-2.9.19-orig/modules/ldapbackend/powerldap.hh 2005-09-03 18:12:43.000000000 +0000 | |
27 | +++ pdns-2.9.19/modules/ldapbackend/powerldap.hh 2005-11-16 17:23:23.000000000 +0000 | |
28 | @@ -69,7 +69,7 @@ | |
29 | typedef map<string, vector<string> > sentry_t; | |
30 | typedef vector<sentry_t> sresult_t; | |
31 | ||
32 | - PowerLDAP( const string& host = "127.0.0.1", uint16_t port = LDAP_PORT, bool tls = false ); | |
33 | + PowerLDAP( const string& host = "127.0.0.1", u_int16_t port = LDAP_PORT, bool tls = false ); | |
34 | ~PowerLDAP(); | |
35 | ||
36 | void getOption( int option, int* value ); |