From 55b284cdffd0609a39af4499e582f24cb1cf7524 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 25 Oct 2013 11:52:10 -0400 Subject: add user profile settings about virtual episodes --- MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs') diff --git a/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs b/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs index ae4d91148..a40dff5a4 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs @@ -120,7 +120,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer var result = await WebSocket.ReceiveAsync(buffer, cancellationToken).ConfigureAwait(false); - if (result.CloseStatus.HasValue && result.CloseStatus.Value != WebSocketCloseStatus.Empty) + if (result.CloseStatus.HasValue) { _logger.Info("Web socket connection closed by client. Reason: {0}", result.CloseStatus.Value); return null; -- cgit v1.2.3