summaryrefslogtreecommitdiff
path: root/source4/libcli/resolve/testsuite.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-17 17:25:40 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-17 20:28:40 +0100
commit116fbd6b5a82a2e9f2440aae4ad56cf8a457c85b (patch)
tree713fd94f73e03ab088206a6af1b9b81ad32832a9 /source4/libcli/resolve/testsuite.c
parent7d0e78a52cfed797100696725611655227cf01ac (diff)
downloadsamba-116fbd6b5a82a2e9f2440aae4ad56cf8a457c85b.tar.gz
samba-116fbd6b5a82a2e9f2440aae4ad56cf8a457c85b.tar.bz2
samba-116fbd6b5a82a2e9f2440aae4ad56cf8a457c85b.zip
s4:libcli/resolve: specify the port for the resulting socket_addresses
metze
Diffstat (limited to 'source4/libcli/resolve/testsuite.c')
-rw-r--r--source4/libcli/resolve/testsuite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/resolve/testsuite.c b/source4/libcli/resolve/testsuite.c
index ded1d1c9c1..f1d1fbc85c 100644
--- a/source4/libcli/resolve/testsuite.c
+++ b/source4/libcli/resolve/testsuite.c
@@ -44,7 +44,7 @@ static bool test_async_resolve(struct torture_context *tctx)
host, timelimit);
while (timeval_elapsed(&tv) < timelimit) {
struct socket_address **s;
- struct composite_context *c = resolve_name_host_send(mem_ctx, ev, NULL, 0, &n);
+ struct composite_context *c = resolve_name_host_send(mem_ctx, ev, NULL, 0, 0, &n);
torture_assert(tctx, c != NULL, "resolve_name_host_send");
torture_assert_ntstatus_ok(tctx, resolve_name_host_recv(c, mem_ctx, &s, NULL),
"async resolve failed");