[Modify] Replace it
This commit is contained in:
parent
f3c8f291b4
commit
9b482d8810
@ -311,8 +311,8 @@ namespace WebSocketSharp
|
|||||||
|
|
||||||
set {
|
set {
|
||||||
lock (_forConn) {
|
lock (_forConn) {
|
||||||
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 setting the compression.", null);
|
error ("An error has occurred in setting the compression.", null);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user