[Modify] Polish it

This commit is contained in:
sta 2018-02-25 18:02:17 +09:00
parent 465949f4f0
commit dc6ce0f58a

View File

@ -504,7 +504,7 @@ namespace WebSocketSharp.Net
{ {
lock (_sync) { lock (_sync) {
if (_socket == null) if (_socket == null)
return _inputStream; return null;
if (_inputStream != null) if (_inputStream != null)
return _inputStream; return _inputStream;