[Modify] Polish it
This commit is contained in:
parent
34c2cd55c7
commit
3ae8b6152b
@ -198,6 +198,7 @@ namespace WebSocketSharp.Server
|
|||||||
throw new ArgumentException ("It contains '..'.", "path");
|
throw new ArgumentException ("It contains '..'.", "path");
|
||||||
|
|
||||||
byte[] contents;
|
byte[] contents;
|
||||||
|
|
||||||
tryReadFile (createFilePath (path), out contents);
|
tryReadFile (createFilePath (path), out contents);
|
||||||
|
|
||||||
return contents;
|
return contents;
|
||||||
|
Loading…
Reference in New Issue
Block a user