浏览代码

Update WebSocketSharpRequest.cs

Bond-009 5 年之前
父节点
当前提交
b61ee09a36
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();