mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Fix prev commit for empty attrs
This commit is contained in:
parent
87faffa2e6
commit
c6cd37c5cf
1 changed files with 2 additions and 2 deletions
|
|
@ -1161,10 +1161,10 @@ print_entry(
|
|||
{
|
||||
if (bv.bv_val == NULL) break;
|
||||
|
||||
if ( attrsonly || !bvals ) {
|
||||
if ( attrsonly ) {
|
||||
write_ldif( LDIF_PUT_NOVALUE, bv.bv_val, NULL, 0 );
|
||||
|
||||
} else {
|
||||
} else if ( bvals ) {
|
||||
for ( i = 0; bvals[i].bv_val != NULL; i++ ) {
|
||||
if ( vals2tmp > 1 || ( vals2tmp
|
||||
&& ldif_is_not_printable( bvals[i].bv_val, bvals[i].bv_len ) ))
|
||||
|
|
|
|||
Loading…
Reference in a new issue