summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-15 19:03:18 +0000
committerGerald Carter <jerry@samba.org>2004-01-15 19:03:18 +0000
commit79fe75dcdf6cc38e18ca1231e4357893db4d4a08 (patch)
tree4053b19e76a9d74a9b850c364642056c7b5f1ddb /source/client
parentc51eaec4f09d9c191c6b24dadb1d12770b368da0 (diff)
downloadsamba-79fe75dcdf6cc38e18ca1231e4357893db4d4a08.tar.gz
samba-79fe75dcdf6cc38e18ca1231e4357893db4d4a08.tar.xz
samba-79fe75dcdf6cc38e18ca1231e4357893db4d4a08.zip
* BUG 446
- setup_logging() in smbclient to be interactive (remove the timestamps) - Fix bad return value in pull_ucs2( needs more testing to make sure this didn't break something else) that caused clistr_pull() to always read the same string from the buffer (pull_usc2() could return -1 if the original source length was given as -1) - increment some debugging messages to avoid printing them out so often
Diffstat (limited to 'source/client')
-rw-r--r--source/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 5ee6913374a..6c43a974f2b 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -2816,7 +2816,8 @@ static void remember_query_host(const char *arg,
set_global_myworkgroup( "" );
/* set default debug level to 0 regardless of what smb.conf sets */
- DEBUGLEVEL_CLASS[DBGC_ALL] = 0;
+ setup_logging( "smbclient", True );
+ DEBUGLEVEL_CLASS[DBGC_ALL] = 1;
dbf = x_stderr;
x_setbuf( x_stderr, NULL );