]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix windows build
authorRuss Cox <rsc@golang.org>
Tue, 31 Jan 2012 16:20:34 +0000 (11:20 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 31 Jan 2012 16:20:34 +0000 (11:20 -0500)
TBR=mikioh
CC=golang-dev
https://golang.org/cl/5588048

src/pkg/net/fd_windows.go

index 8d6aa7b6ca12c0c37607516a9bcccf5b8f2de11d..0f89868e390dc60baa2476655c8d7b63a280d000 100644 (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.
        case syscall.ERROR_IO_PENDING:
                // IO started, and we have to wait for its completion.
+               err = nil
        default:
                return 0, &OpError{oi.Name(), o.fd.net, o.fd.laddr, err}
        }