mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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") };
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue