]> git.pld-linux.org Git - packages/pdns.git/blob - pdns-int16.patch
- version up to 2.9.20 (rel 1)
[packages/pdns.git] / pdns-int16.patch
1 diff -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 @@
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 -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
16 @@ -2,7 +2,7 @@
17  
18  
19  
20 -PowerLDAP::PowerLDAP( const string& hosts, uint16_t port, bool tls )
21 +PowerLDAP::PowerLDAP( const string& hosts, u_int16_t port, bool tls )
22  {
23         int protocol = LDAP_VERSION3;
24  
25 diff -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 @@
29         typedef map<string, vector<string> > sentry_t;
30         typedef vector<sentry_t> sresult_t;
31  
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 );
34         ~PowerLDAP();
35  
36         void getOption( int option, int* value );
This page took 0.026285 seconds and 3 git commands to generate.