From 51fb09470189bab6f23478eaf3720e2c99616045 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 23 May 2000 00:32:50 +0000 Subject: [PATCH] ITS#541: fix log check bug --- libraries/libldap/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/print.c b/libraries/libldap/print.c index 0afe4db43c..02b95bcc05 100644 --- a/libraries/libldap/print.c +++ b/libraries/libldap/print.c @@ -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; -- 2.39.5