diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 02:30:21 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 02:30:21 +0100 |
commit | 3ebc574be4049905c6f08d188fd3cdfdc4d3ba32 (patch) | |
tree | 92545c4a647fc6d21586b538092ffe885cfe4982 /source4/torture/raw | |
parent | b034c519f53cffbac21c3db79ee24cdd8f1ce4a2 (diff) | |
download | samba-3ebc574be4049905c6f08d188fd3cdfdc4d3ba32.tar.gz samba-3ebc574be4049905c6f08d188fd3cdfdc4d3ba32.tar.bz2 samba-3ebc574be4049905c6f08d188fd3cdfdc4d3ba32.zip |
Fix the build.
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/lockbench.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/openbench.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/oplock.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/tconrate.c | 2 |
4 files changed, 2 insertions, 4 deletions
diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c index 681d37bddb..6b59b35b5d 100644 --- a/source4/torture/raw/lockbench.c +++ b/source4/torture/raw/lockbench.c @@ -341,7 +341,6 @@ 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, diff --git a/source4/torture/raw/openbench.c b/source4/torture/raw/openbench.c index 9e9f27af6b..e2d52f6c02 100644 --- a/source4/torture/raw/openbench.c +++ b/source4/torture/raw/openbench.c @@ -401,7 +401,6 @@ bool torture_bench_open(struct torture_context *torture) state[i].dest_ports[0] = talloc_asprintf(state[i].dest_ports, "%u", state[i].cli->tree->session->transport->socket->port); state[i].dest_ports[1] = NULL; - state[i].socket_options = lp_socket_options(torture->lp_ctx); state[i].called_name = talloc_strdup(state[i].mem_ctx, state[i].cli->tree->session->transport->called.name); state[i].service_type = talloc_strdup(state[i].mem_ctx, diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index 46b41e51a0..86dae6bc1f 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -187,7 +187,7 @@ static bool open_connection_no_level2_oplocks(struct torture_context *tctx, torture_setting_string(tctx, "host", NULL), lp_smb_ports(tctx->lp_ctx), torture_setting_string(tctx, "share", NULL), - NULL, cmdline_credentials, + NULL, lp_socket_options(tctx->lp_ctx), cmdline_credentials, lp_resolve_context(tctx->lp_ctx), tctx->ev, &options, &session_options, lp_iconv_convenience(tctx->lp_ctx)); diff --git a/source4/torture/raw/tconrate.c b/source4/torture/raw/tconrate.c index 9e75301828..1615b5322a 100644 --- a/source4/torture/raw/tconrate.c +++ b/source4/torture/raw/tconrate.c @@ -100,7 +100,7 @@ static int fork_tcon_client(struct torture_context *tctx, status = smbcli_full_connection(NULL, &cli, host, lp_smb_ports(tctx->lp_ctx), share, - NULL, cmdline_credentials, + NULL, lp_socket_options(tctx->lp_ctx), cmdline_credentials, lp_resolve_context(tctx->lp_ctx), tctx->ev, &options, &session_options, lp_iconv_convenience(tctx->lp_ctx)); |