aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-25 11:52:10 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-25 11:52:10 -0400
commit55b284cdffd0609a39af4499e582f24cb1cf7524 (patch)
tree8198ccd10161e5a4f9ae186e325ac67cd3227b18 /MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs
parente8bb5c4b9a615c14d569c2fb925b008d1e3cd418 (diff)
add user profile settings about virtual episodes
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs2
1 files changed, 1 insertions, 1 deletions
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;