From 9261ceb89e3394da3d41197354a7da723678187e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 6 May 2004 04:45:29 +0000 Subject: r504: fixed a bad call to list_union() (This used to be commit 4404056cd5fd65d72a38ea474fe330281b3ee19e) --- source4/lib/ldb/ldb_tdb/ldb_index.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/lib/ldb/ldb_tdb/ldb_index.c b/source4/lib/ldb/ldb_tdb/ldb_index.c index 07077281ce..877955a9b7 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_index.c +++ b/source4/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); } } -- cgit