]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix windows build
authorMikio Hara <mikioh.mikioh@gmail.com>
Sun, 12 Feb 2012 06:59:21 +0000 (15:59 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Sun, 12 Feb 2012 06:59:21 +0000 (15:59 +0900)
R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/5653066

src/pkg/net/sockopt_windows.go

index 46661e2f25647033ab08edbe76a6fee6c7a264c6..b18af67d754f92f78b8fd6df466baf37f7f5ddef 100644 (file)
@@ -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.