1
0
mirror of https://github.com/golang/go synced 2024-11-23 13:20:09 -07:00

[dev.cc] runtime: replace deleted netpollfd function

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/169710043
This commit is contained in:
Alex Brainman 2014-11-17 17:18:21 +11:00
parent 7aa89ea798
commit fc288681cf

View File

@ -108,7 +108,7 @@ retry:
op = entries[i].op
errno = 0
qty = 0
if stdcall5(_WSAGetOverlappedResult, netpollfd(op.pd), uintptr(unsafe.Pointer(op)), uintptr(unsafe.Pointer(&qty)), 0, uintptr(unsafe.Pointer(&flags))) == 0 {
if stdcall5(_WSAGetOverlappedResult, op.pd.fd, uintptr(unsafe.Pointer(op)), uintptr(unsafe.Pointer(&qty)), 0, uintptr(unsafe.Pointer(&flags))) == 0 {
errno = int32(getlasterror())
}
handlecompletion(&gp, op, errno, qty)