mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-17 15:53:42 +01:00
brace multiline if statements
This commit is contained in:
@@ -34,7 +34,9 @@ namespace Rssdp.Infrastructure
|
||||
finally
|
||||
{
|
||||
if (retVal != null)
|
||||
{
|
||||
retVal.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +66,9 @@ namespace Rssdp.Infrastructure
|
||||
message.Method = new HttpMethod(parts[0].Trim());
|
||||
Uri requestUri;
|
||||
if (Uri.TryCreate(parts[1].Trim(), UriKind.RelativeOrAbsolute, out requestUri))
|
||||
{
|
||||
message.RequestUri = requestUri;
|
||||
}
|
||||
else
|
||||
System.Diagnostics.Debug.WriteLine(parts[1]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user