diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-10-19 10:34:06 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-10-19 10:34:06 +0200 |
commit | 7f82fbad50906866bbb6c0950795644f1c18b099 (patch) | |
tree | b4d809847f041e4781a81cebd2c7f743c1761372 /source3/winbindd/winbindd.c | |
parent | 30191d1a5704ad2b158386b511558972d539ce47 (diff) | |
download | samba-7f82fbad50906866bbb6c0950795644f1c18b099.tar.gz samba-7f82fbad50906866bbb6c0950795644f1c18b099.tar.bz2 samba-7f82fbad50906866bbb6c0950795644f1c18b099.zip |
fix startup of smbd, nmbd, winbindd
jra: POPT_ARG_VAL arguments need int values.
I assume there're more places like this
in the cmdline tools.
Please fix this properly, as my commit is just
a hack to get make test working again.
in samba4 we have a workaround for this see
smbd/server.c
metze
(This used to be commit 9cb1937fe8601e526b5c924930500e0a3b52abd5)
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r-- | source3/winbindd/winbindd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 97bbe063ba..057790a541 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -984,10 +984,10 @@ static void process_loop(void) int main(int argc, char **argv, char **envp) { pstring logfile; - static bool is_daemon = False; - static bool Fork = True; - static bool log_stdout = False; - static bool no_process_group = False; + static int is_daemon = False; + static int Fork = True; + static int log_stdout = False; + static int no_process_group = False; struct poptOption long_options[] = { POPT_AUTOHELP { "stdout", 'S', POPT_ARG_VAL, &log_stdout, True, "Log to stdout" }, |