1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:04:41 -07:00

net: fix windows build

TBR=mikioh
CC=golang-dev
https://golang.org/cl/5588048
This commit is contained in:
Russ Cox 2012-01-31 11:20:34 -05:00
parent 8efb304440
commit 31d908baaf

View File

@ -169,6 +169,7 @@ func (s *ioSrv) ExecIO(oi anOpIface, deadline int64) (int, error) {
// IO completed immediately, but we need to get our completion message anyway. // IO completed immediately, but we need to get our completion message anyway.
case syscall.ERROR_IO_PENDING: case syscall.ERROR_IO_PENDING:
// IO started, and we have to wait for its completion. // IO started, and we have to wait for its completion.
err = nil
default: default:
return 0, &OpError{oi.Name(), o.fd.net, o.fd.laddr, err} return 0, &OpError{oi.Name(), o.fd.net, o.fd.laddr, err}
} }