From dc6ce0f58ac2d788fb7cae0e58c847b740e54ee0 Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 25 Feb 2018 18:02:17 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/HttpConnection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 60df3f7b..5ad2763f 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -504,7 +504,7 @@ namespace WebSocketSharp.Net { lock (_sync) { if (_socket == null) - return _inputStream; + return null; if (_inputStream != null) return _inputStream;