Commit 60aa48c1 authored by Alex Brainman's avatar Alex Brainman

net: fix small bug introduced by 48f7c4dd87fe

Fixes #6063

R=golang-dev, r, dave
CC=dvyukov, golang-dev
https://golang.org/cl/12586043
parent 1535727e
...@@ -257,7 +257,7 @@ func (fd *netFD) init() error { ...@@ -257,7 +257,7 @@ func (fd *netFD) init() error {
fd.wop.runtimeCtx = fd.pd.runtimeCtx fd.wop.runtimeCtx = fd.pd.runtimeCtx
if !canCancelIO { if !canCancelIO {
fd.rop.errc = make(chan error) fd.rop.errc = make(chan error)
fd.rop.errc = make(chan error) fd.wop.errc = make(chan error)
} }
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment