diff --git a/vlib/sokol/f/f.v b/vlib/sokol/f/f.v index 7df6fab0e8..a54bb57715 100644 --- a/vlib/sokol/f/f.v +++ b/vlib/sokol/f/f.v @@ -6,6 +6,7 @@ pub const ( used_import = 1 + fontstash.used_import ) +/* #flag windows -I @VROOT/thirdparty/freetype/include #flag windows -L @VROOT/thirdparty/freetype/win64 @@ -22,6 +23,7 @@ pub const ( #flag darwin -lfreetype #flag darwin -lpng -lbz2 -lz +*/ diff --git a/vlib/x/net/tcp.v b/vlib/x/net/tcp.v index 9f303a5cac..b728f8f353 100644 --- a/vlib/x/net/tcp.v +++ b/vlib/x/net/tcp.v @@ -273,8 +273,8 @@ fn new_tcp_socket() ?TcpSocket { s := TcpSocket { handle: sockfd } - s.set_option_bool(.reuse_addr, true)? - //s.set_option_int(.reuse_addr, 1)? + //s.set_option_bool(.reuse_addr, true)? + s.set_option_int(.reuse_addr, 1)? $if windows { t := true socket_error(C.ioctlsocket(sockfd, fionbio, &t))? diff --git a/vlib/x/websocket/io.v b/vlib/x/websocket/io.v index 9f80dbb1a0..14066e6cb6 100644 --- a/vlib/x/websocket/io.v +++ b/vlib/x/websocket/io.v @@ -8,7 +8,7 @@ interface WebsocketIO { socket_write(bytes []byte) ? } -// socket_read_into reads into the provided buffer with it's lenght +// socket_read_into reads into the provided buffer with its length fn (mut ws Client) socket_read_into(mut buffer []byte) ?int { lock { if ws.is_ssl {