From f1256e847e6820c29f8bc74db4609d8aa282a1a1 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Mon, 7 Jan 2002 21:32:22 +0000 Subject: merge changes from 2.2 branch to prevent smb.conf from changing debug level of commands when specified on command line. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566) --- source3/client/client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index bf0e0f6b04..33ce7e30f7 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -32,6 +32,7 @@ const char prog_name[] = "smbclient"; struct cli_state *cli; extern BOOL in_client; +extern BOOL AllowDebugChange; static int port = 0; pstring cur_dir = "\\"; pstring cd_path = ""; @@ -2411,6 +2412,7 @@ static int do_message_op(void) *new_name_resolve_order = 0; DEBUGLEVEL = 2; + AllowDebugChange = False; setup_logging(pname,True); -- cgit