* Clean unused tmp, fix spelling of the comment

This commit is contained in:
sin_sin
2015-01-08 10:29:38 +08:00
parent b10d06dd4b
commit 8a1ea1eee4
+1 -2
View File
@@ -17,7 +17,6 @@ namespace Shadowsocks.Controller
string temppath = Path.GetTempPath();
LogFile = Path.Combine(temppath, "shadowsocks.log");
FileStream fs = new FileStream(LogFile, FileMode.Append);
TextWriter tmp = Console.Out;
StreamWriterWithTimestamp sw = new StreamWriterWithTimestamp(fs);
sw.AutoFlush = true;
Console.SetOut(sw);
@@ -64,7 +63,7 @@ namespace Shadowsocks.Controller
}
// Simply extened System.IO.StreamWriter for adding timestamp workaround
// Simply extended System.IO.StreamWriter for adding timestamp workaround
public class StreamWriterWithTimestamp : StreamWriter
{
public StreamWriterWithTimestamp(Stream stream) : base(stream)