summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/libsmb_context.c')
-rw-r--r--source3/libsmb/libsmb_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c
index 8af49d12be..c107ab2220 100644
--- a/source3/libsmb/libsmb_context.c
+++ b/source3/libsmb/libsmb_context.c
@@ -424,7 +424,7 @@ smbc_init_context(SMBCCTX *context)
/* Do not initialise the same client twice */
if (context->internal->initialized) {
- return 0;
+ return NULL;
}
if (!context->server.get_auth_data_fn ||
@@ -446,7 +446,7 @@ smbc_init_context(SMBCCTX *context)
/* Set this to what the user wants */
DEBUGLEVEL = context->config.debug;
-
+
load_case_tables();
setup_logging("libsmbclient", True);