From 341699b0053c18bfaf5b8c1aec63e3e16f965876 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 15 Jan 2004 19:08:45 +0000 Subject: * 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 (This used to be commit f452585073fbeeae3e3a0db644e381f94cb918f3) --- source3/client/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index 5ee6913374..6c43a974f2 100644 --- a/source3/client/client.c +++ b/source3/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 ); -- cgit