mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
Fix undef'd code for empty attributes.
This commit is contained in:
parent
2bf2cb63ba
commit
a667cd989b
1 changed files with 1 additions and 1 deletions
|
|
@ -1313,7 +1313,7 @@ print_entry(
|
||||||
{
|
{
|
||||||
if (bv.bv_val == NULL) break;
|
if (bv.bv_val == NULL) break;
|
||||||
|
|
||||||
if ( attrsonly ) {
|
if ( attrsonly || !bvals ) {
|
||||||
write_ldif( LDIF_PUT_NOVALUE, bv.bv_val, NULL, 0 );
|
write_ldif( LDIF_PUT_NOVALUE, bv.bv_val, NULL, 0 );
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue