mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-29 14:31:53 +01:00
brace multiline if statements (cont.)
This commit is contained in:
@@ -140,7 +140,9 @@ namespace Rssdp.Infrastructure
|
||||
lineIndex++;
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
ParseHeader(line, headers, contentHeaders);
|
||||
@@ -184,7 +186,9 @@ namespace Rssdp.Infrastructure
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
values.AddRange(segments);
|
||||
}
|
||||
}
|
||||
|
||||
return values;
|
||||
@@ -218,7 +222,9 @@ namespace Rssdp.Infrastructure
|
||||
return trimmedSegment.Substring(1, trimmedSegment.Length - 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
return trimmedSegment;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user