aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-12-24 02:43:18 +0000
committerGitHub <noreply@github.com>2021-12-24 02:43:18 +0000
commit599fc9e671d4b8e57be731b1255a50d1711afdc4 (patch)
tree7f0f13aed430ec5abb3f556deb84e2d85043b88d /Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
parentb5459f49d32d0fce3944f816915fb7380fd84681 (diff)
parent17f43c8e01a764d8e030a75b8d3c7f89146677d8 (diff)
Merge pull request #5836 from BaronGreenback/comparisons
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/WebSocketConnection.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/WebSocketConnection.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
index 5f25f6980..0eca2a608 100644
--- a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
+++ b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
@@ -180,7 +180,7 @@ namespace Emby.Server.Implementations.HttpServer
}
WebSocketMessage<object>? stub;
- long bytesConsumed = 0;
+ long bytesConsumed;
try
{
stub = DeserializeWebSocketMessage(buffer, out bytesConsumed);