[Modify] Replace it

This commit is contained in:
sta 2016-03-09 15:04:22 +09:00
parent 9b482d8810
commit 0763dc6e53

View File

@ -386,8 +386,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 enable redirection.", null); error ("An error has occurred in setting the enable redirection.", null);