mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: fix TcpConn.set_blocking on windows
This commit is contained in:
parent
b22c335496
commit
e32c65c322
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ pub fn (mut con TcpConn) set_blocking(state bool) ? {
|
|||
if !con.is_blocking {
|
||||
t = 1
|
||||
}
|
||||
socket_error(C.ioctlsocket(handle, fionbio, &t)) ?
|
||||
socket_error(C.ioctlsocket(con.sock.handle, fionbio, &t)) ?
|
||||
} $else {
|
||||
mut flags := C.fcntl(con.sock.handle, C.F_GETFL, 0)
|
||||
if state {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue