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' }