summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/libsmb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c
index e3290ece40..6446252022 100644
--- a/source3/libsmb/libsmb_server.c
+++ b/source3/libsmb/libsmb_server.c
@@ -436,7 +436,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
c->use_ccache = True;
}
- c->timeout = smbc_getTimeout(context);
+ cli_set_timeout(c, smbc_getTimeout(context));
status = cli_negprot(c);