diff --git a/lib/nodes/websocket.cpp b/lib/nodes/websocket.cpp index ea923bf26..7b4aca6ac 100644 --- a/lib/nodes/websocket.cpp +++ b/lib/nodes/websocket.cpp @@ -249,7 +249,7 @@ int websocket_protocol_cb(struct lws *wsi, enum lws_callback_reasons reason, voi case LWS_CALLBACK_CLIENT_CONNECTION_ERROR: c->state = websocket_connection::State::ERROR; - warning("Failed to establish WebSocket connection: %s, reason=%s", websocket_connection_name(c), in ? (char *) in : "unkown"); + warning("Failed to establish WebSocket connection: reason=%s", in ? (char *) in : "unknown"); return -1;