[Modify] Replace it
This commit is contained in:
parent
a844baaa5c
commit
da4fbb686f
@ -2088,8 +2088,8 @@ namespace WebSocketSharp
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
public void Accept ()
|
public void Accept ()
|
||||||
{
|
{
|
||||||
var msg = checkIfAvailable (false, true, true, false, false, false);
|
string msg;
|
||||||
if (msg != null) {
|
if (!checkIfAvailable (false, true, true, false, false, false, out msg)) {
|
||||||
_logger.Error (msg);
|
_logger.Error (msg);
|
||||||
error ("An error has occurred in accepting.", null);
|
error ("An error has occurred in accepting.", null);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user