mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
Fix undef'd code for empty attributes.
This commit is contained in:
parent
2bf2cb63ba
commit
a667cd989b
@ -1313,7 +1313,7 @@ print_entry(
|
||||
{
|
||||
if (bv.bv_val == NULL) break;
|
||||
|
||||
if ( attrsonly ) {
|
||||
if ( attrsonly || !bvals ) {
|
||||
write_ldif( LDIF_PUT_NOVALUE, bv.bv_val, NULL, 0 );
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user