mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: TypeSymbol.source_name (#6187)
This commit is contained in:
@ -24,7 +24,7 @@ fn (mut ws Client) read_handshake(seckey string) {
|
||||
unsafe {
|
||||
buffer[max_buffer - 1] = `\0`
|
||||
}
|
||||
ws.handshake_handler(string(byteptr(buffer)), seckey)
|
||||
ws.handshake_handler(unsafe{ byteptr(buffer).vstring_with_len(max_buffer-1) }, seckey)
|
||||
}
|
||||
|
||||
fn (mut ws Client) handshake_handler(handshake_response, seckey string) {
|
||||
|
Reference in New Issue
Block a user