[Modify] Polish it
This commit is contained in:
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…
Reference in New Issue
Block a user