]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/attr.c
ITS#4088 force cursors to use same locker
[openldap] / servers / slapd / back-bdb / attr.c
index 15b1e31f6a83ef14a7571b71bf39da358cc0cc1f..f058c1f59672ddcda65b19638977d5d8ee64b923 100644 (file)
@@ -271,7 +271,7 @@ bdb_attr_index_config(
        return LDAP_SUCCESS;
 }
 
-static void
+static int
 bdb_attr_index_unparser( void *v1, void *v2 )
 {
        AttrInfo *ai = v1;
@@ -289,6 +289,7 @@ bdb_attr_index_unparser( void *v1, void *v2 )
                bv.bv_val = ptr;
                ber_bvarray_add( bva, &bv );
        }
+       return 0;
 }
 
 static AttributeDescription addef = { NULL, NULL, BER_BVC("default") };