소스 검색

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