mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
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:
parent
cc0d91716e
commit
b746066b9b
@ -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") };
|
||||
|
Loading…
Reference in New Issue
Block a user