From de83e7e0a4c33fda73ae170452d967279ba54073 Mon Sep 17 00:00:00 2001 From: Bruno MEDICI Date: Wed, 17 May 2023 20:43:49 +0200 Subject: [PATCH] fix typo on "if (!client->send();) return 0;" --- src/AsyncWebSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncWebSocket.cpp b/src/AsyncWebSocket.cpp index 3047402d7..6e88da94f 100644 --- a/src/AsyncWebSocket.cpp +++ b/src/AsyncWebSocket.cpp @@ -102,7 +102,7 @@ size_t webSocketSendFrame(AsyncClient *client, bool final, uint8_t opcode, bool return 0; } } - if (!client->send();) return 0; + if (!client->send()) return 0; return len; }