diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-08-02 11:04:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-08-02 11:04:30 -0400 |
commit | 362f60e2d4dddb09c3b456732ac272b0e55374f0 (patch) | |
tree | eef7b1edb90700106c803c9698a9ab36fbab935f /src/test | |
parent | 48a4ef3f6ab88c48ac391989f2ee38de9dd4dbdf (diff) | |
download | tor-362f60e2d4dddb09c3b456732ac272b0e55374f0.tar.gz tor-362f60e2d4dddb09c3b456732ac272b0e55374f0.zip |
Try to make the win32 ersatz_socketpair pass.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_util.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index 213751e5e7..05d28d7877 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -3426,11 +3426,7 @@ test_util_socketpair(void *arg) ersatz ? tor_ersatz_socketpair : tor_socketpair; int n = get_n_open_sockets(); tor_socket_t fds[2] = {TOR_INVALID_SOCKET, TOR_INVALID_SOCKET}; -#ifdef _WIN32 - const int family = AF_INET; -#else const int family = AF_UNIX; -#endif tt_int_op(0, ==, tor_socketpair_fn(family, SOCK_STREAM, 0, fds)); tt_assert(SOCKET_OK(fds[0])); |