1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

x.net: fix new_tcp_socket()

This commit is contained in:
Alexander Medvednikov
2020-08-24 03:23:57 +02:00
parent fa8f5df817
commit 702a80fc5a
3 changed files with 5 additions and 3 deletions

View File

@@ -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 {