1
0
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:
Daniel Däschle
2020-08-22 12:29:15 +02:00
committed by GitHub
parent b5ca114a96
commit fcc61a981d
15 changed files with 266 additions and 135 deletions

View File

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