mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-09 04:04:54 +00:00
ReSharper format: conform inline 'out' parameters.
This commit is contained in:
parent
65bd052f3e
commit
e867446437
124 changed files with 354 additions and 820 deletions
|
|
@ -56,9 +56,8 @@ namespace Emby.Server.Implementations.HttpServer
|
|||
}
|
||||
|
||||
// Content length has to be explicitly set on on HttpListenerResponse or it won't be happy
|
||||
string contentLength;
|
||||
|
||||
if (hasHeaders.Headers.TryGetValue("Content-Length", out contentLength) && !string.IsNullOrEmpty(contentLength))
|
||||
if (hasHeaders.Headers.TryGetValue("Content-Length", out var contentLength) && !string.IsNullOrEmpty(contentLength))
|
||||
{
|
||||
var length = long.Parse(contentLength, UsCulture);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue