]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/print.c
Fix extensible filters
[openldap] / libraries / libldap / print.c
index 0afe4db43c17864846875f187e2b2a9bb1ec1e01..02b95bcc05f98712db79f49754636c01f092042c 100644 (file)
@@ -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;