From: Howard Chu Date: Mon, 22 Oct 2001 14:55:42 +0000 (+0000) Subject: Missed a test in AttributeDescription commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~951 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c981026a6cd6ca1a7b1b0b1447028ef6cf657f9f;p=openldap Missed a test in AttributeDescription commit --- diff --git a/servers/slapd/back-ldbm/index.c b/servers/slapd/back-ldbm/index.c index 54ad4442b7..baa197b3a3 100644 --- a/servers/slapd/back-ldbm/index.c +++ b/servers/slapd/back-ldbm/index.c @@ -262,7 +262,7 @@ static int index_at_values( mask ); } - if( lang ) { + if( lang->bv_len ) { char *dbname = NULL; size_t tlen = strlen( type->sat_cname ); size_t llen = lang->bv_len;