[Modify] Polish it
This commit is contained in:
parent
7c907396d5
commit
94046e1c12
@ -1076,6 +1076,7 @@ namespace WebSocketSharp
|
||||
internal static string TrimSlashFromEnd (this string value)
|
||||
{
|
||||
var ret = value.TrimEnd ('/');
|
||||
|
||||
return ret.Length > 0 ? ret : "/";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user