diff --git a/ixwebsocket/IXSocketTLSOptions.cpp b/ixwebsocket/IXSocketTLSOptions.cpp index 4156920a..5800ccdc 100644 --- a/ixwebsocket/IXSocketTLSOptions.cpp +++ b/ixwebsocket/IXSocketTLSOptions.cpp @@ -87,7 +87,7 @@ namespace ix ss << " keyFile = " << keyFile << std::endl; ss << " caFile = " << caFile << std::endl; ss << " ciphers = " << ciphers << std::endl; - ss << " ciphers = " << ciphers << std::endl; + ss << " tls = " << tls << std::endl; return ss.str(); } } // namespace ix diff --git a/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp b/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp index c41a8c3d..f7dcc35e 100644 --- a/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp +++ b/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp @@ -127,8 +127,8 @@ namespace ix if (_clientNoContextTakeover) ss << "; client_no_context_takeover"; if (_serverNoContextTakeover) ss << "; server_no_context_takeover"; - ss << "; server_max_window_bits=" << _serverMaxWindowBits; - ss << "; client_max_window_bits=" << _clientMaxWindowBits; + ss << "; server_max_window_bits=" << static_cast(_serverMaxWindowBits); + ss << "; client_max_window_bits=" << static_cast(_clientMaxWindowBits); ss << "\r\n";