From 9387d11aa6bfae7930342d8175d160c7538e9f56 Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Sun, 12 Feb 2012 15:59:21 +0900 Subject: [PATCH] net: fix windows build R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5653066 --- src/pkg/net/sockopt_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/sockopt_windows.go b/src/pkg/net/sockopt_windows.go index 46661e2f256..b18af67d754 100644 --- a/src/pkg/net/sockopt_windows.go +++ b/src/pkg/net/sockopt_windows.go @@ -23,7 +23,7 @@ func setDefaultSockopts(s syscall.Handle, f, t int) error { return nil } -func setDefaultListenerSockopts(s syscall.Handle, f, t int) error { +func setDefaultListenerSockopts(s syscall.Handle) error { // Windows will reuse recently-used addresses by default. // SO_REUSEADDR should not be used here, as it allows // a socket to forcibly bind to a port in use by another socket.