diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-13 20:50:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-17 20:26:38 +0100 |
commit | 7d0e78a52cfed797100696725611655227cf01ac (patch) | |
tree | 27a53cf8c534b559290720533e8984b278a2c988 /source4/libcli/resolve/testsuite.c | |
parent | 937fdb8a7e348103708adbdafcff28b05cc1fda3 (diff) | |
download | samba-7d0e78a52cfed797100696725611655227cf01ac.tar.gz samba-7d0e78a52cfed797100696725611655227cf01ac.tar.bz2 samba-7d0e78a52cfed797100696725611655227cf01ac.zip |
s4:libcli/resolve: optionally return the name that belongs to the returned address
E.g. this helps for DNS CNAME and SRV results.
metze
Diffstat (limited to 'source4/libcli/resolve/testsuite.c')
-rw-r--r-- | source4/libcli/resolve/testsuite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/resolve/testsuite.c b/source4/libcli/resolve/testsuite.c index 7e002bd310..ded1d1c9c1 100644 --- a/source4/libcli/resolve/testsuite.c +++ b/source4/libcli/resolve/testsuite.c @@ -46,7 +46,7 @@ static bool test_async_resolve(struct torture_context *tctx) struct socket_address **s; struct composite_context *c = resolve_name_host_send(mem_ctx, ev, NULL, 0, &n); torture_assert(tctx, c != NULL, "resolve_name_host_send"); - torture_assert_ntstatus_ok(tctx, resolve_name_host_recv(c, mem_ctx, &s), + torture_assert_ntstatus_ok(tctx, resolve_name_host_recv(c, mem_ctx, &s, NULL), "async resolve failed"); count++; } |