diff options
author | cypherpunks <cypherpunks@torproject.org> | 2015-12-16 23:09:08 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-17 08:34:27 -0500 |
commit | fd399ec85095d86d78cf69674df9ec2143dffdcb (patch) | |
tree | 9ca55e6c916bebc6471b1db091eebf26ab9630ac /src/or | |
parent | 2d2312d98986d65af47d35a89e176b5cf9953533 (diff) | |
download | tor-fd399ec85095d86d78cf69674df9ec2143dffdcb.tar.gz tor-fd399ec85095d86d78cf69674df9ec2143dffdcb.zip |
Remove Windows specific data type usage
The Tor code base already contains usage of setsockopt(2) with an int as
their option value without problems.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index be59a2c048..f2c8d2a8d3 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1154,12 +1154,7 @@ connection_listener_new(const struct sockaddr *listensockaddr, #ifdef IPV6_V6ONLY if (listensockaddr->sa_family == AF_INET6) { -#ifdef _WIN32 - /* In Redmond, this kind of thing passes for standards-conformance. */ - DWORD one = 1; -#else int one = 1; -#endif /* We need to set IPV6_V6ONLY so that this socket can't get used for * IPv4 connections. */ if (setsockopt(s,IPPROTO_IPV6, IPV6_V6ONLY, |