git.samba.org
/
obnox
/
cwrap
/
socket_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f635b31
)
tests: Fix compile warning
author
Andreas Schneider
<asn@samba.org>
Fri, 16 Oct 2015 14:50:00 +0000
(16:50 +0200)
committer
Andreas Schneider
<asn@samba.org>
Mon, 19 Oct 2015 08:43:01 +0000
(10:43 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
tests/test_echo_tcp_bind.c
patch
|
blob
|
history
diff --git
a/tests/test_echo_tcp_bind.c
b/tests/test_echo_tcp_bind.c
index 0baf0bd9bece3047235e21bb949b59a935da07a7..cde7e3f089ebbb763b634857bbd43772c71a5d53 100644
(file)
--- a/
tests/test_echo_tcp_bind.c
+++ b/
tests/test_echo_tcp_bind.c
@@
-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);