[Modify] Polish it

master
sta 8 years ago
parent 7de8f735df
commit 0e77f996a7

@ -857,14 +857,13 @@ namespace WebSocketSharp
// As server
private bool acceptHandshake ()
{
var msg = String.Format (
"A handshake request from {0}:\n{1}",
_context.UserEndPoint,
_context
);
_logger.Debug (msg);
_logger.Debug (
String.Format (
"A handshake request from {0}:\n{1}", _context.UserEndPoint, _context
)
);
string msg;
if (!checkHandshakeRequest (_context, out msg)) {
_logger.Error (msg);

Loading…
Cancel
Save