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