From 4404056cd5fd65d72a38ea474fe330281b3ee19e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 6 May 2004 04:45:29 +0000 Subject: [PATCH] r504: fixed a bad call to list_union() --- source/lib/ldb/ldb_tdb/ldb_index.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/lib/ldb/ldb_tdb/ldb_index.c b/source/lib/ldb/ldb_tdb/ldb_index.c index 07077281ced..877955a9b79 100644 --- a/source/lib/ldb/ldb_tdb/ldb_index.c +++ b/source/lib/ldb/ldb_tdb/ldb_index.c @@ -188,7 +188,8 @@ static int ltdb_index_dn_objectclass(struct ldb_context *ldb, int i; int ret; const char *target = tree->u.simple.value.data; - static int list_union(struct dn_list *, const struct dn_list *); + static int list_union(struct ldb_context *, + struct dn_list *, const struct dn_list *); list->count = 0; list->dn = NULL; @@ -214,7 +215,7 @@ static int ltdb_index_dn_objectclass(struct ldb_context *ldb, *list = list2; ret = 1; } else { - list_union(list, &list2); + list_union(ldb, list, &list2); dn_list_free(ldb, &list2); } }