mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r504: fixed a bad call to list_union()
(This used to be commit 4404056cd5
)
This commit is contained in:
parent
722e301591
commit
9261ceb89e
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user