From d8d3bded727529eb9863d6cf17c7c778569317ad Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 30 Jun 2004 16:25:14 +0000 Subject: [PATCH] cleanup --- servers/slapd/ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/ad.c b/servers/slapd/ad.c index 89f2c96b6f..19a8ca0c55 100644 --- a/servers/slapd/ad.c +++ b/servers/slapd/ad.c @@ -137,7 +137,7 @@ int slap_bv2ad( assert( ad != NULL ); assert( *ad == NULL ); /* temporary */ - if( bv == NULL || bv->bv_len == 0 ) { + if( bv == NULL || BER_BVISNULL( bv ) || BER_BVISEMPTY( bv ) ) { *text = "empty attribute description"; return rtn; } -- 2.39.5