summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_index.c5
1 files changed, 3 insertions, 2 deletions
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);
}
}