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