X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fldapd%2Frequest.c;h=28dae68661e5e94060ce14ab2bf2e6ef5c85de14;hb=b83ae3b434bd5cfbefdf291f9abf527430156a17;hp=fd33fc2545e5234631c125837c04fbc9cb197d2b;hpb=a4411a9944c8e96fb1fe17f70f3e87f9d6003e68;p=openldap diff --git a/servers/ldapd/request.c b/servers/ldapd/request.c index fd33fc2545..28dae68661 100644 --- a/servers/ldapd/request.c +++ b/servers/ldapd/request.c @@ -31,8 +31,6 @@ #include "ldap.h" #include "common.h" -extern int dosyslog; - #ifdef PEPSY_DUMP #ifndef DEBUG #define DEBUG @@ -70,11 +68,6 @@ client_request( BerElement ber, *copyofber; struct msg *m; static int bound; - extern char *bound_dn, *bound_pw; - struct PSAPaddr *psap_cpy(); -#ifdef LDAP_COMPAT - extern int ldap_compat; -#endif Debug( LDAP_DEBUG_TRACE, "client_request%s\n", udp ? " udp" : "", 0, 0 ); @@ -203,7 +196,7 @@ client_request( * duplicate request: toss this one */ Debug( LDAP_DEBUG_TRACE, - "client_request tossing dup request id %d from %s\n", + "client_request tossing dup request id %ld from %s\n", msgid, inet_ntoa( ((struct sockaddr_in *) clientsb->sb_fromaddr)->sin_addr ), 0 ); free( ber.ber_buf );