aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-05-26 20:00:37 +0200
committerGitHub <noreply@github.com>2020-05-26 20:00:37 +0200
commitb61ee09a36ed38958dc3897be6a30ca8ad191813 (patch)
tree3ff7dda6ee3e979e21671de809e4ffddff4d2939 /Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
parent0676d1c2f45eb19c993a0e130c6fbef0eade67d9 (diff)
Update WebSocketSharpRequest.cs
Diffstat (limited to 'Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs')
-rw-r--r--Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs b/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
index 7488b1938..6ca58b1c3 100644
--- a/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
+++ b/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
@@ -209,7 +209,7 @@ namespace Emby.Server.Implementations.SocketSharp
private static string GetQueryStringContentType(HttpRequest httpReq)
{
ReadOnlySpan<char> format = httpReq.Query["format"].ToString();
- if (formatStr == ReadOnlySpan<char>.Empty)
+ if (format == ReadOnlySpan<char>.Empty)
{
const int FormatMaxLength = 4;
ReadOnlySpan<char> pi = httpReq.Path.ToString();