[Modify] Polish it
This commit is contained in:
parent
65f9232d61
commit
a626976168
@ -668,9 +668,10 @@ namespace WebSocketSharp.Net
|
|||||||
buff.AppendFormat ("; Domain={0}", _domain);
|
buff.AppendFormat ("; Domain={0}", _domain);
|
||||||
|
|
||||||
if (!_port.IsNullOrEmpty ()) {
|
if (!_port.IsNullOrEmpty ()) {
|
||||||
buff.Append (
|
if (_port != "\"\"")
|
||||||
_port != "\"\"" ? String.Format ("; Port={0}", _port) : "; Port"
|
buff.AppendFormat ("; Port={0}", _port);
|
||||||
);
|
else
|
||||||
|
buff.Append ("; Port");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_comment.IsNullOrEmpty ())
|
if (!_comment.IsNullOrEmpty ())
|
||||||
|
Loading…
Reference in New Issue
Block a user