minor echo server updates

This commit is contained in:
Peter Thorson
2012-02-24 08:03:16 -06:00
parent 2fba5ca478
commit 3ec229c223
2 changed files with 2 additions and 36 deletions

View File

@@ -33,8 +33,8 @@ using websocketpp::server;
class echo_server_handler : public server::handler {
public:
void on_message(connection_ptr connection,message_ptr msg) {
connection->send(msg->get_payload(),msg->get_opcode());
void on_message(connection_ptr con, message_ptr msg) {
con->send(msg->get_payload(),msg->get_opcode());
}
};