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