Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes whitespace

  • Loading branch information...
commit d3bfc406005754ee48e9dbb09b36245dacfeae71 1 parent afaffdf
@specialunderwear authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/socketio/SocketIOHandler.hpp
View
12 src/socketio/SocketIOHandler.hpp
@@ -84,13 +84,13 @@ namespace socketio {
void _on_heartbeat_timeout(typename Handler::connection_ptr con, const boost::system::error_code& error) {
if (!error) {
- std::cerr << "No heartbeat received from server, sending 2::" << std::endl;
+ std::cerr << "No heartbeat received from server, sending 2::" << std::endl;
con->send("2::", websocketpp::frame::opcode::TEXT);
- } else if (error != boost::asio::error::operation_aborted) {
- std::cerr << "Problem with client hearbeat, code: boost::asio::error::" << error << std::endl;
- std::cerr << "exiting ..." << std::endl;
- exit(1);
- }
+ } else if (error != boost::asio::error::operation_aborted) {
+ std::cerr << "Problem with client hearbeat, code: boost::asio::error::" << error << std::endl;
+ std::cerr << "exiting ..." << std::endl;
+ exit(1);
+ }
}
std::string _parse_session_id(const std::string &message) {
Please sign in to comment.
Something went wrong with that request. Please try again.