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:
mcs%netscape.com
2002-11-15 21:01:43 +00:00
parent 62ecca7ba7
commit 6107849741
2 changed files with 1 additions and 5 deletions

View File

@@ -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

View File

@@ -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
}
/*