[tor-commits] [tor/master] Fix make_socket_reusable() on windows. Bug not in any released Tor

nickm at torproject.org nickm at torproject.org
Thu Apr 3 01:11:50 UTC 2014


commit d290e36576c07b288a6347385d144a493869bd97
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Apr 2 21:11:45 2014 -0400

    Fix make_socket_reusable() on windows. Bug not in any released Tor
---
 src/or/connection.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/or/connection.c b/src/or/connection.c
index ad5f9a1..1be4c45 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -965,6 +965,7 @@ make_socket_reuseable(tor_socket_t sock)
 {
 #ifdef _WIN32
   (void) sock;
+  return 0;
 #else
   int one=1;
 



More information about the tor-commits mailing list