summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-23 15:20:22 +0100
committerVolker Lendecke <vlendec@samba.org>2010-12-29 23:30:44 +0100
commit86ff8cf227c759189080ade0deb4f5b184bb14f7 (patch)
tree86bfa637c324bb2dba67e797f39b8a4d32e18cb9 /source3/torture
parent65f4f22cb4a201fb3f4f4adbb576d3a8909d4bfd (diff)
downloadsamba-86ff8cf227c759189080ade0deb4f5b184bb14f7.tar.gz
samba-86ff8cf227c759189080ade0deb4f5b184bb14f7.tar.bz2
samba-86ff8cf227c759189080ade0deb4f5b184bb14f7.zip
s3: Allow more control over smbsock_[any_]connect
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 29 23:30:44 CET 2010 on sn-devel-104
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/test_smbsock_any_connect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/test_smbsock_any_connect.c b/source3/torture/test_smbsock_any_connect.c
index 4ebb4f9b39..28a99815e7 100644
--- a/source3/torture/test_smbsock_any_connect.c
+++ b/source3/torture/test_smbsock_any_connect.c
@@ -34,8 +34,9 @@ bool run_smb_any_connect(int dummy)
interpret_string_addr(&addrs[3], "192.168.99.8", 0);
interpret_string_addr(&addrs[4], "192.168.99.9", 0);
- status = smbsock_any_connect(addrs, NULL, ARRAY_SIZE(addrs), &fd,
- &chosen_index, &port);
+ status = smbsock_any_connect(addrs, NULL, NULL, NULL, NULL,
+ ARRAY_SIZE(addrs), 0,
+ &fd, &chosen_index, &port);
d_printf("smbsock_any_connect returned %s (fd %d)\n",
nt_errstr(status), NT_STATUS_IS_OK(status) ? fd : -1);