summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-05-06 21:29:36 +0000
committerWayne Davison <wayned@samba.org>2004-05-06 21:29:36 +0000
commitc5bf99a1c27d4f0223558f68012a490069dbc76f (patch)
tree009313e0aed77f27bd860bd9e5a1236dcdca6416 /socket.c
parent2c7d63c76592751427f805020cfe8878bbc72f1f (diff)
downloadrsync-c5bf99a1c27d4f0223558f68012a490069dbc76f.tar.gz
rsync-c5bf99a1c27d4f0223558f68012a490069dbc76f.tar.bz2
rsync-c5bf99a1c27d4f0223558f68012a490069dbc76f.zip
Correct a typo.
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 0f473914..88ef93ec 100644
--- 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,
- (char *)&one, sizeof one) < 0;
+ (char *)&one, sizeof one);
}
#endif