Commit 6c1f0750 authored by Andreas Schneider's avatar Andreas Schneider

tests: Fix compile warning

Signed-off-by: default avatarAndreas Schneider <asn@samba.org>
Reviewed-by: default avatarRalph Boehme <slow@samba.org>
parent f635b312
......@@ -365,7 +365,7 @@ static void test_bindresvport_ipv4(void **state)
&addr.sa.in.sin_addr);
assert_int_equal(rc, 1);
rc = connect(s, &addr.sa.in, addr.sa_socklen);
rc = connect(s, &addr.sa.s, addr.sa_socklen);
assert_return_code(rc, errno);
close(s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment