Fix undef'd code for empty attributes.

This commit is contained in:
Howard Chu 2003-02-10 07:41:30 +00:00
parent 2bf2cb63ba
commit a667cd989b

View File

@ -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 {