mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
Fixup swat warning.
Fix winbindd dual mode in the same was as in APP_HEAD. "Ken Cross" <kcross@nssolutions.com> noticed the problem. Jeremy.
This commit is contained in:
parent
3e2b73fcc1
commit
214b217b27
@ -159,6 +159,12 @@ void do_dual_daemon(void)
|
||||
return;
|
||||
}
|
||||
close(fdpair[1]);
|
||||
|
||||
/* tdb needs special fork handling */
|
||||
if (tdb_reopen_all() == -1) {
|
||||
DEBUG(0,("tdb_reopen_all failed.\n"));
|
||||
_exit(0);
|
||||
}
|
||||
|
||||
if (!winbind_setup_common())
|
||||
_exit(0);
|
||||
|
@ -1262,7 +1262,7 @@ static void printers_page(void)
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int opt;
|
||||
char *page;
|
||||
const char *page;
|
||||
poptContext pc;
|
||||
struct poptOption long_options[] = {
|
||||
POPT_AUTOHELP
|
||||
|
Loading…
x
Reference in New Issue
Block a user