From b746066b9b75c4f77d69e0dd5004584a67a2be8b Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 4 Jul 2005 05:21:39 +0000 Subject: [PATCH] Let bdb_attr_index_unparser() return int (0) instead of void; the return value of an AVL_APPLY function is significant. --- servers/slapd/back-bdb/attr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/attr.c b/servers/slapd/back-bdb/attr.c index 15b1e31f6a..f058c1f596 100644 --- a/servers/slapd/back-bdb/attr.c +++ b/servers/slapd/back-bdb/attr.c @@ -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") }; -- 2.39.5