mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
websocket: update to work with latest V
This commit is contained in:
@ -49,7 +49,7 @@ fn (s mut Utf8State) seq(r0 bool, r1 bool, is_tail bool) bool {
|
||||
fn (s mut Utf8State) next_state (c byte) {
|
||||
//sequence 1
|
||||
if s.index == 0 {
|
||||
if ((c >= 0x00 + 1 && c <= 0x7F) || c == 0x00) {
|
||||
if (c >= 0x00 + 1 && c <= 0x7F) || c == 0x00 {
|
||||
return
|
||||
}
|
||||
s.index++
|
||||
|
Reference in New Issue
Block a user