fix slapi_sdn_isempty() logic

This commit is contained in:
Luke Howard 2005-08-26 10:46:56 +00:00
parent e641222b10
commit 06600b9a1d

View File

@ -267,7 +267,7 @@ int slapi_sdn_compare( const Slapi_DN *sdn1, const Slapi_DN *sdn2 )
int slapi_sdn_isempty( const Slapi_DN *sdn)
{
return ( BER_BVISEMPTY( &sdn->dn ) );
return ( BER_BVISEMPTY( &sdn->dn ) && BER_BVISEMPTY( &sdn->ndn ) );
}
int slapi_sdn_issuffix( const Slapi_DN *sdn, const Slapi_DN *suffix_sdn )