[Modify] Polish it
This commit is contained in:
parent
edeb1b79dd
commit
46731fc93b
@ -470,7 +470,9 @@ namespace WebSocketSharp
|
|||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static string GetValue (this string nameAndValue, char separator, bool unquote)
|
internal static string GetValue (
|
||||||
|
this string nameAndValue, char separator, bool unquote
|
||||||
|
)
|
||||||
{
|
{
|
||||||
var idx = nameAndValue.IndexOf (separator);
|
var idx = nameAndValue.IndexOf (separator);
|
||||||
if (idx < 0 || idx == nameAndValue.Length - 1)
|
if (idx < 0 || idx == nameAndValue.Length - 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user