Browse Source

Update WebSocketSharpRequest.cs

Bond-009 5 years ago
parent
commit
b61ee09a36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs

+ 1 - 1
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();