diff options
author | Volker Lendecke <vl@samba.org> | 2009-12-28 10:57:01 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-12-28 14:59:45 +0100 |
commit | 2daa084da4db5a72b1677c4702718bbcb35261f1 (patch) | |
tree | 34ef6977d83c8abbe5fb858064727a7c640766f1 /source3/winbindd | |
parent | 72d93599d95cd8bb57823fd0d4934ca4373d162c (diff) | |
download | samba-2daa084da4db5a72b1677c4702718bbcb35261f1.tar.gz samba-2daa084da4db5a72b1677c4702718bbcb35261f1.tar.bz2 samba-2daa084da4db5a72b1677c4702718bbcb35261f1.zip |
s3: Simplify "setup_domain_child" slightly
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_domain.c | 2 | ||||
-rw-r--r-- | source3/winbindd/winbindd_dual.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_domain.c b/source3/winbindd/winbindd_domain.c index 40e38017cc..45da57e132 100644 --- a/source3/winbindd/winbindd_domain.c +++ b/source3/winbindd/winbindd_domain.c @@ -80,6 +80,4 @@ void setup_domain_child(struct winbindd_domain *domain, { setup_child(domain, child, domain_dispatch_table, "log.wb", domain->name); - - child->domain = domain; } diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 9a80d48764..bccd63ffa4 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -502,7 +502,7 @@ void setup_child(struct winbindd_domain *domain, struct winbindd_child *child, "logname == NULL"); } - child->domain = NULL; + child->domain = domain; child->table = table; child->queue = tevent_queue_create(NULL, "winbind_child"); SMB_ASSERT(child->queue != NULL); |