[Modify] Replace it

master
sta 10 years ago
parent da4fbb686f
commit 3a369c22d8

@ -2113,8 +2113,8 @@ namespace WebSocketSharp
/// </remarks> /// </remarks>
public void AcceptAsync () public void AcceptAsync ()
{ {
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…
Cancel
Save