]> git.sur5r.net Git - openldap/commitdiff
declare return value of index_mask() to be slap_mask_t, also get rid of extraneous...
authorBen Collins <bcollins@openldap.org>
Wed, 13 Sep 2000 21:51:14 +0000 (21:51 +0000)
committerBen Collins <bcollins@openldap.org>
Wed, 13 Sep 2000 21:51:14 +0000 (21:51 +0000)
servers/slapd/back-ldbm/index.c

index 010ca61c6c69014444bf47ccd83aba200679f6eb..fda0e6861259927e32652efb7690fb520aa64d02 100644 (file)
@@ -15,7 +15,7 @@
 #include "slap.h"
 #include "back-ldbm.h"
 
-static index_mask(
+static slap_mask_t index_mask(
        Backend *be,
        AttributeDescription *desc,
        char **dbname,
@@ -325,7 +325,7 @@ index_entry(
 
 
        /* add each attribute to the indexes */
-       for ( ap; ap != NULL; ap = ap->a_next ) {
+       for ( ; ap != NULL; ap = ap->a_next ) {
                index_values( be, ap->a_desc, ap->a_vals, e->e_id, op );
        }