s3: Remove the separate "child" argument from setup_domain_child()
[obnox/samba-ctdb.git] / source / winbindd / winbindd_domain.c
index 2e8c6175ca09087f13e9d40089bc12df02976ec7..23b2bbdddb7e8eecf1dd1ae36f5787b18f7c079a 100644 (file)
 
 static const struct winbindd_child_dispatch_table domain_dispatch_table[];
 
-void setup_domain_child(struct winbindd_domain *domain,
-                       struct winbindd_child *child)
+void setup_domain_child(struct winbindd_domain *domain)
 {
-       setup_child(child, domain_dispatch_table,
+       setup_child(&domain->child, domain_dispatch_table,
                    "log.wb", domain->name);
 
-       child->domain = domain;
+       domain->child.domain = domain;
 }
 
 static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {