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