]> git.sur5r.net Git - openldap/commitdiff
Fix objectSubClassIndexer bug
authorKurt Zeilenga <kurt@openldap.org>
Thu, 29 Aug 2002 18:05:49 +0000 (18:05 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 29 Aug 2002 18:05:49 +0000 (18:05 +0000)
servers/slapd/schema_prep.c

index 8da0c25153a541277306a2a63150114c85a1f0ce..0566e1333bddd534f374d36ebf0dced3dac0f283 100644 (file)
@@ -153,7 +153,7 @@ static int objectSubClassIndexer(
        /* expand values */
        for( i=0; i<noc; i++ ) {
                int j;
-               ObjectClass *oc = oc_bvfind( &values[i] );
+               ObjectClass *oc = oc_bvfind( &ocvalues[i] );
                if( oc == NULL || oc->soc_sups == NULL ) continue;
                
                for( j=0; oc->soc_sups[j] != NULL; j++ ) {