Skip to content

Commit d0b5c49

Browse files
committed
[Modify] Polish it
1 parent f3e97b9 commit d0b5c49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

websocket-sharp/Net/CookieCollection.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,11 @@ private static CookieCollection parseRequest (string value)
304304
if (val.Length == 0)
305305
continue;
306306

307+
var s = val.Unquote ();
308+
307309
int num;
308310

309-
if (!Int32.TryParse (val.Unquote (), out num))
311+
if (!Int32.TryParse (s, out num))
310312
continue;
311313

312314
ver = num;

0 commit comments

Comments
 (0)