summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-04-05 19:41:33 +0000
committerRichard Sharpe <sharpe@samba.org>2003-04-05 19:41:33 +0000
commit7f6367aac8c5440e1d4e97b26571b205140488ae (patch)
tree44acc28bb614907f47e99f758b7d6649c6277d62 /source/libsmb
parentfb20589e7c043ab1306051e80ca3f7476b1c6c58 (diff)
downloadsamba-7f6367aac8c5440e1d4e97b26571b205140488ae.tar.gz
samba-7f6367aac8c5440e1d4e97b26571b205140488ae.tar.xz
samba-7f6367aac8c5440e1d4e97b26571b205140488ae.zip
Fix debug handling in libsmbclient.c.
Also, PLEASE, PLEASE, PLEASE, do not include bashism and Cisms in shell scripts.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/libsmbclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libsmb/libsmbclient.c b/source/libsmb/libsmbclient.c
index c04736d8f59..a0223568f1f 100644
--- a/source/libsmb/libsmbclient.c
+++ b/source/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);