From 35292596d8d57f76a6118127d7f3c71c6141170b Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sat, 5 Apr 2003 19:41:33 +0000 Subject: Fix debug handling in libsmbclient.c. Also, PLEASE, PLEASE, PLEASE, do not include bashism and Cisms in shell scripts. (This used to be commit 7f6367aac8c5440e1d4e97b26571b205140488ae) --- source3/libsmb/libsmbclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb/libsmbclient.c') diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index c04736d8f5..a0223568f1 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -2670,8 +2670,8 @@ SMBCCTX * smbc_init_context(SMBCCTX * context) if (!smbc_initialized) { /* Do some library wide intialisations the first time we get called */ - /* Do we still need this ? */ - DEBUGLEVEL = 10; + /* Set this to what the user wants */ + DEBUGLEVEL = context->debug; setup_logging( "libsmbclient", True); -- cgit