Typo and refine code

This commit is contained in:
noisyfox
2016-12-09 02:17:46 +11:00
parent b04c59d8e6
commit 9cdb71875a
@@ -66,7 +66,7 @@ namespace Shadowsocks.Controller.Service
private static readonly Regex HttpRequestHeaderRegex = new Regex(@"^([A-Z]+?) ([^\s]+) HTTP/1\.\d$");
private int _requestLineCount = 0;
private volatile bool _isConnect = false;
private bool _isConnect = false;
private string _targetHost;
private int _targetPort;
@@ -156,7 +156,7 @@ namespace Shadowsocks.Controller.Service
if (_targetHost == null)
{
Logging.Error("Unkonwn host");
Logging.Error("Unknown host");
Close();
}
else