From 7f82fbad50906866bbb6c0950795644f1c18b099 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 19 Oct 2007 10:34:06 +0200 Subject: 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) --- source3/smbd/server.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/smbd/server.c') diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 05bb3504c7..1ae2c71ddd 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -882,11 +882,11 @@ extern void build_options(bool screen); int main(int argc,const char *argv[]) { /* shall I run as a daemon */ - static bool is_daemon = False; - static bool interactive = False; - static bool Fork = True; - static bool no_process_group = False; - static bool log_stdout = False; + static int is_daemon = False; + static int interactive = False; + static int Fork = True; + static int no_process_group = False; + static int log_stdout = False; static char *ports = NULL; static char *profile_level = NULL; int opt; -- cgit