]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix small bug introduced by 48f7c4dd87fe
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 7 Aug 2013 03:36:41 +0000 (13:36 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 7 Aug 2013 03:36:41 +0000 (13:36 +1000)
Fixes #6063

R=golang-dev, r, dave
CC=dvyukov, golang-dev
https://golang.org/cl/12586043

src/pkg/net/fd_windows.go

index 974a542a9672a514904d0b9e3ebfb838d853b31b..a667de7b9f16fd5e8f04c78378325e9ff9675027 100644 (file)
@@ -257,7 +257,7 @@ func (fd *netFD) init() error {
        fd.wop.runtimeCtx = fd.pd.runtimeCtx
        if !canCancelIO {
                fd.rop.errc = make(chan error)
-               fd.rop.errc = make(chan error)
+               fd.wop.errc = make(chan error)
        }
        return nil
 }