diff --git a/websocketpp/transport/asio/endpoint.hpp b/websocketpp/transport/asio/endpoint.hpp index 03b37d577a..e41b054d87 100644 --- a/websocketpp/transport/asio/endpoint.hpp +++ b/websocketpp/transport/asio/endpoint.hpp @@ -432,7 +432,7 @@ protected: boost::asio::ip::tcp::resolver::iterator it, end; - for (it = iterator; it != end, ++it) { + for (it = iterator; it != end; ++it) { s << (*it).endpoint() << "\n"; }