Let bdb_attr_index_unparser() return int (0) instead of void; the return

value of an AVL_APPLY function is significant.
This commit is contained in:
Hallvard Furuseth 2005-07-04 05:21:39 +00:00
parent cc0d91716e
commit b746066b9b

View file

@ -271,7 +271,7 @@ bdb_attr_index_config(
return LDAP_SUCCESS; return LDAP_SUCCESS;
} }
static void static int
bdb_attr_index_unparser( void *v1, void *v2 ) bdb_attr_index_unparser( void *v1, void *v2 )
{ {
AttrInfo *ai = v1; AttrInfo *ai = v1;
@ -289,6 +289,7 @@ bdb_attr_index_unparser( void *v1, void *v2 )
bv.bv_val = ptr; bv.bv_val = ptr;
ber_bvarray_add( bva, &bv ); ber_bvarray_add( bva, &bv );
} }
return 0;
} }
static AttributeDescription addef = { NULL, NULL, BER_BVC("default") }; static AttributeDescription addef = { NULL, NULL, BER_BVC("default") };