Commit fc288681 authored by Alex Brainman's avatar Alex Brainman

[dev.cc] runtime: replace deleted netpollfd function

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/169710043
parent 7aa89ea7
......@@ -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)
......
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