From 71c695d8d1ddcb4927daab4ad967f9fcfdff76c7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 2 Aug 2011 22:56:52 +0200 Subject: s3:cli_np_tstream: make use of cli_set_timeout() metze --- source3/libsmb/cli_np_tstream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c index 7521181ec8..37fd68affd 100644 --- a/source3/libsmb/cli_np_tstream.c +++ b/source3/libsmb/cli_np_tstream.c @@ -194,7 +194,8 @@ NTSTATUS _tstream_cli_np_open_recv(struct tevent_req *req, cli_nps->cli = state->cli; cli_nps->npipe = talloc_move(cli_nps, &state->npipe); cli_nps->fnum = state->fnum; - cli_nps->default_timeout = state->cli->timeout; + cli_nps->default_timeout = cli_set_timeout(state->cli, 0); + cli_set_timeout(state->cli, cli_nps->default_timeout); talloc_set_destructor(cli_nps, tstream_cli_np_destructor); -- cgit