remove overlapped call

pull/1269/head
Darien Raymond 2018-08-25 21:40:30 +02:00
parent d12148c0cd
commit 66a391cafe
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 2 deletions

View File

@ -27,8 +27,7 @@ func (r *windowsReader) Clear() {
func (r *windowsReader) Read(fd uintptr) int32 {
var nBytes uint32
var flags uint32
var o syscall.Overlapped
err := syscall.WSARecv(syscall.Handle(fd), &r.bufs[0], uint32(len(r.bufs)), &nBytes, &flags, &o, nil)
err := syscall.WSARecv(syscall.Handle(fd), &r.bufs[0], uint32(len(r.bufs)), &nBytes, &flags, nil, nil)
if err != nil {
return -1
}