From 7a6190e9a7cc176ebd428c1e3edde1328ebca3e3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 2 Nov 2008 01:03:26 +0100 Subject: Remove another use of global_loadparm. --- source4/torture/raw/lockbench.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/torture/raw/lockbench.c') diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c index a6dce8a926..681d37bddb 100644 --- a/source4/torture/raw/lockbench.c +++ b/source4/torture/raw/lockbench.c @@ -188,6 +188,7 @@ static void reopen_connection(struct event_context *ev, struct timed_event *te, io->in.dest_host = state->dest_host; io->in.dest_ports = state->dest_ports; + io->in.socket_options = lp_socket_options(state->tctx->lp_ctx); io->in.called_name = state->called_name; io->in.service = share; io->in.service_type = state->service_type; @@ -340,6 +341,7 @@ bool torture_bench_lock(struct torture_context *torture) } talloc_steal(mem_ctx, state); state[i].tree = cli->tree; + state[i].socket_options = lp_socket_options(torture->lp_ctx); state[i].dest_host = talloc_strdup(state[i].mem_ctx, cli->tree->session->transport->socket->hostname); state[i].dest_ports = talloc_array(state[i].mem_ctx, -- cgit