From 860ac9da694040c1f5238fe06cf3f182a9f63e10 Mon Sep 17 00:00:00 2001 From: Hasenradball Date: Sat, 19 Jun 2021 21:52:13 +0200 Subject: [PATCH] Prevent Compiler Warning: --> add // falls through prevent Compiler warning by adding // falls through to imform compiler. --- src/WebSocketsClient.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WebSocketsClient.cpp b/src/WebSocketsClient.cpp index e3519c8..562a661 100644 --- a/src/WebSocketsClient.cpp +++ b/src/WebSocketsClient.cpp @@ -784,8 +784,10 @@ void WebSocketsClient::handleHeader(WSclient_t * client, String * headerLine) { if(client->isSocketIO) { break; } + // falls through case 403: ///< Forbidden // todo handle login + // falls through default: ///< Server dont unterstand requrst ok = false; DEBUG_WEBSOCKETS("[WS-Client][handleHeader] serverCode is not 101 (%d)\n", client->cCode);