Fix bug # 177778 - ldap_set_option( NULL, ... ) resets ldap_debug to zero.
git-svn-id: svn://10.0.0.236/trunk@133924 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -46,7 +46,7 @@ static char copyright[] = "@(#) Copyright (c) 1995 Regents of the University of
|
||||
#endif
|
||||
|
||||
#ifdef LDAP_DEBUG
|
||||
int ldap_debug;
|
||||
int ldap_debug = 0;
|
||||
#endif
|
||||
|
||||
#ifdef _WINDOWS
|
||||
|
||||
@@ -85,10 +85,6 @@ ldap_set_option( LDAP *ld, int option, const void *optdata )
|
||||
*/
|
||||
if ( ld == NULL ) {
|
||||
ld = &nsldapi_ld_defaults;
|
||||
#ifdef LDAP_DEBUG
|
||||
ldap_debug = 0;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user