diff --git a/lib/src/HttpServer.cc b/lib/src/HttpServer.cc index 86fbf706..139fac2e 100755 --- a/lib/src/HttpServer.cc +++ b/lib/src/HttpServer.cc @@ -129,7 +129,7 @@ void HttpServer::onMessage(const TcpConnectionPtr& conn, context->setWebsockConnection(wsConn); } MsgBuffer buffer; - std::dynamic_pointer_cast(resp)->appendToBuffer(&buffer); + std::dynamic_pointer_cast(resp)->appendToBuffer(&buffer); conn->send(std::move(buffer)); },wsConn); }