diff options
Diffstat (limited to 'source3/winbindd/winbindd_domain.c')
-rw-r--r-- | source3/winbindd/winbindd_domain.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/source3/winbindd/winbindd_domain.c b/source3/winbindd/winbindd_domain.c index 107c83ac80..96cbf6f746 100644 --- a/source3/winbindd/winbindd_domain.c +++ b/source3/winbindd/winbindd_domain.c @@ -25,17 +25,6 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND -static const struct winbindd_child_dispatch_table domain_dispatch_table[]; - -void setup_domain_child(struct winbindd_domain *domain, - struct winbindd_child *child) -{ - setup_child(domain, child, domain_dispatch_table, - "log.wb", domain->name); - - child->domain = domain; -} - static const struct winbindd_child_dispatch_table domain_dispatch_table[] = { { .name = "PING", @@ -117,3 +106,12 @@ static const struct winbindd_child_dispatch_table domain_dispatch_table[] = { .name = NULL, } }; + +void setup_domain_child(struct winbindd_domain *domain, + struct winbindd_child *child) +{ + setup_child(domain, child, domain_dispatch_table, + "log.wb", domain->name); + + child->domain = domain; +} |