[Modify] Replace it
This commit is contained in:
parent
fcb4b6604e
commit
c2961bc8e7
@ -2455,8 +2455,8 @@ namespace WebSocketSharp
|
||||
/// </remarks>
|
||||
public void Connect ()
|
||||
{
|
||||
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