Closing braces should be followed by an empty line

This commit is contained in:
Bond-009 2019-02-13 16:59:30 +01:00
parent fc59b0ab77
commit 637936cb9f
2 changed files with 4 additions and 0 deletions

View File

@ -140,10 +140,12 @@ namespace Jellyfin.Server.SocketSharp
throw new ArgumentException("net_WebHeaderInvalidCRLFChars"); throw new ArgumentException("net_WebHeaderInvalidCRLFChars");
} }
} }
if (crlf != 0) if (crlf != 0)
{ {
throw new ArgumentException("net_WebHeaderInvalidCRLFChars"); throw new ArgumentException("net_WebHeaderInvalidCRLFChars");
} }
return name; return name;
} }
@ -156,6 +158,7 @@ namespace Jellyfin.Server.SocketSharp
return true; return true;
} }
} }
return false; return false;
} }

View File

@ -151,6 +151,7 @@ namespace Jellyfin.Server.SocketSharp
{ {
sb.Append(";Secure"); sb.Append(";Secure");
} }
if (cookie.HttpOnly) if (cookie.HttpOnly)
{ {
sb.Append(";HttpOnly"); sb.Append(";HttpOnly");