diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/libsmb_context.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c index 7f4ede49ef..8e76387346 100644 --- a/source3/libsmb/libsmb_context.c +++ b/source3/libsmb/libsmb_context.c @@ -47,7 +47,7 @@ SMBC_module_init(void * punused) load_case_tables(); - setup_logging("libsmbclient", True); + setup_logging("libsmbclient", DEBUG_STDOUT); /* Here we would open the smb.conf file if needed ... */ @@ -561,8 +561,7 @@ smbc_init_context(SMBCCTX *context) * leave it up to the user. If any one context spefies debug to * stderr then all will be. */ - dbf = x_stderr; - x_setbuf(x_stderr, NULL); + setup_logging("libsmbclient", DEBUG_STDERR); } if ((!smbc_getFunctionAuthData(context) && |