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

net.websocket: fix building client.v

This commit is contained in:
Delyan Angelov
2020-07-05 18:44:33 +03:00
parent 271786b186
commit 1416c70e73
3 changed files with 3 additions and 3 deletions

View File

@ -479,7 +479,7 @@ pub fn (mut ws Client) read() int {
return -1
}
}
message := Message{
message := &Message{
opcode: frame.opcode
payload: payload
payload_len: int(payload_len)