summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 22:13:47 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 22:13:47 +0100
commit57a60f0920e77e26a3ce7f5d43540904ee4cbd8e (patch)
treee7b6e5c410c93c334c3c7eaa1866e47e856e5cfe /source4/torture
parent3a6b88f9f91c74785444741e8a002bc901055f66 (diff)
downloadsamba-57a60f0920e77e26a3ce7f5d43540904ee4cbd8e.tar.gz
samba-57a60f0920e77e26a3ce7f5d43540904ee4cbd8e.tar.bz2
samba-57a60f0920e77e26a3ce7f5d43540904ee4cbd8e.zip
Move lp_*() calls a bit higher up the calls tack.
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/basic/base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c
index f2b7b9b225..4725188e8f 100644
--- a/source4/torture/basic/base.c
+++ b/source4/torture/basic/base.c
@@ -57,7 +57,8 @@ static struct smbcli_state *open_nbt_connection(struct torture_context *tctx)
if (!smbcli_socket_connect(cli, host, lp_smb_ports(tctx->lp_ctx), tctx->ev,
lp_resolve_context(tctx->lp_ctx), &options,
- lp_iconv_convenience(tctx->lp_ctx))) {
+ lp_iconv_convenience(tctx->lp_ctx),
+ lp_socket_options(tctx->lp_ctx))) {
torture_comment(tctx, "Failed to connect with %s\n", host);
goto failed;
}