Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c7d63c
)
Correct a typo.
author
Wayne Davison
<wayned@samba.org>
Thu, 6 May 2004 21:29:36 +0000
(21:29 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 6 May 2004 21:29:36 +0000
(21:29 +0000)
socket.c
patch
|
blob
|
blame
|
history
diff --git
a/socket.c
b/socket.c
index
0f47391
..
88ef93e
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-373,7
+373,7
@@
static int *open_socket_in(int type, int port, const char *bind_address,
#ifdef IPV6_V6ONLY
if (resp->ai_family == AF_INET6) {
setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
#ifdef IPV6_V6ONLY
if (resp->ai_family == AF_INET6) {
setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
- (char *)&one, sizeof one)
< 0
;
+ (char *)&one, sizeof one);
}
#endif
}
#endif