]> git.sur5r.net Git - openldap/commitdiff
Missed a test in AttributeDescription commit
authorHoward Chu <hyc@openldap.org>
Mon, 22 Oct 2001 14:55:42 +0000 (14:55 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 22 Oct 2001 14:55:42 +0000 (14:55 +0000)
servers/slapd/back-ldbm/index.c

index 54ad4442b7c8d3ea26158ad7cb81d5a66f2a5ecc..baa197b3a31f59ac95d5b8ce4472450267dc999c 100644 (file)
@@ -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;