mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-11 06:43:09 -05:00
ITS#541: fix log check bug
This commit is contained in:
parent
001061daf9
commit
51fb094701
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ static int ldap_log_check( LDAP *ld, int loglvl )
|
|||
if(ld == NULL) {
|
||||
errlvl = ldap_debug;
|
||||
} else {
|
||||
errlvl = ld->ld_errno;
|
||||
errlvl = ld->ld_debug;
|
||||
}
|
||||
|
||||
return errlvl & loglvl ? 1 : 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue