diff options
author | Richard Sharpe <sharpe@samba.org> | 2003-04-05 19:41:33 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2003-04-05 19:41:33 +0000 |
commit | 35292596d8d57f76a6118127d7f3c71c6141170b (patch) | |
tree | 29aa7bad47fe6d8011ecef85c7dd040c7ea293f4 /source3/libsmb | |
parent | edb56d184679d276d011af857f7d1ab0c6817f0a (diff) | |
download | samba-35292596d8d57f76a6118127d7f3c71c6141170b.tar.gz samba-35292596d8d57f76a6118127d7f3c71c6141170b.tar.bz2 samba-35292596d8d57f76a6118127d7f3c71c6141170b.zip |
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)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |