From 2f2463a04c2b061e61ebca5cbc5071a9078f12e9 Mon Sep 17 00:00:00 2001 From: Carlos Esquerdo Bernat Date: Wed, 29 Jul 2020 16:52:33 +0200 Subject: [PATCH] ws: make Client.state `pub mut` (#6009) --- vlib/net/websocket/ws.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/net/websocket/ws.v b/vlib/net/websocket/ws.v index ec7ffb1f43..efb4b14732 100644 --- a/vlib/net/websocket/ws.v +++ b/vlib/net/websocket/ws.v @@ -18,13 +18,13 @@ mut: // cwebsocket_subprotocol *subprotocols[]; mtx &sync.Mutex = sync.new_mutex() write_lock &sync.Mutex = sync.new_mutex() - state State socket net.Socket flags []Flag sslctx &C.SSL_CTX ssl &C.SSL fragments []Fragment pub mut: + state State log log.Log = log.Log{ output_label: 'ws' }