From 5fd65a934b93a7af56046a8e3bbd7084026e4e6f Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Mon, 24 Jun 2013 13:35:25 -0500 Subject: [PATCH] fix typo --- websocketpp/impl/endpoint_impl.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/websocketpp/impl/endpoint_impl.hpp b/websocketpp/impl/endpoint_impl.hpp index 33c8d24d31..02712fec7a 100644 --- a/websocketpp/impl/endpoint_impl.hpp +++ b/websocketpp/impl/endpoint_impl.hpp @@ -186,7 +186,7 @@ void endpoint::ping(connection_hdl hdl, std::string const & { connection_ptr con = get_con_from_hdl(hdl,ec); if (ec) {return;} - con->ping(code,payload,ec); + con->ping(payload,ec); } template @@ -194,7 +194,7 @@ void endpoint::ping(connection_hdl hdl, std::string const & payload) { lib::error_code ec; - ping(hdl,code,payload,ec); + ping(hdl,payload,ec); if (ec) { throw ec; } } @@ -204,7 +204,7 @@ void endpoint::pong(connection_hdl hdl, std::string const & { connection_ptr con = get_con_from_hdl(hdl,ec); if (ec) {return;} - con->pong(code,payload,ec); + con->pong(payload,ec); } template @@ -212,7 +212,7 @@ void endpoint::pong(connection_hdl hdl, std::string const & payload) { lib::error_code ec; - pong(hdl,code,payload,ec); + pong(hdl,payload,ec); if (ec) { throw ec; } }