From f46b305df84ed0eefc2cfed38768c2e04b855649 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Fri, 26 Apr 2013 06:15:42 -0500 Subject: [PATCH] fixes typo, references #213 --- websocketpp/impl/endpoint_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocketpp/impl/endpoint_impl.hpp b/websocketpp/impl/endpoint_impl.hpp index 7f8b0b52b9..9b3c4a68c6 100644 --- a/websocketpp/impl/endpoint_impl.hpp +++ b/websocketpp/impl/endpoint_impl.hpp @@ -174,7 +174,7 @@ void endpoint::close(connection_hdl hdl, const close::status::value code, const std::string & reason) { lib::error_code ec; - send(hdl,code,reason,ec); + close(hdl,code,reason,ec); if (ec) { throw ec; } }