diff options
-rw-r--r-- | src/common/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c index d13a3b4cb..d66dda38a 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -99,8 +99,8 @@ void set_nonblocking(int fd, int yes) { static void setsocketopts(int fd)
{
-#ifndef WIN32
int yes = 1; // reuse fix
+#ifndef WIN32
// set SO_REAUSEADDR to true, unix only. on windows this option causes
// the previous owner of the socket to give up, which is not desirable
// in most cases, neither compatible with unix.
|