Replaced HaveError with HasError

This commit is contained in:
sta 2014-05-05 17:03:26 +09:00
parent 4aa08ee7d4
commit b519af5f95
2 changed files with 3 additions and 3 deletions

View File

@ -268,7 +268,7 @@ namespace WebSocketSharp.Net
}
if (conn.processInput (conn._requestBuffer.GetBuffer ())) {
if (!conn._context.HaveError) {
if (!conn._context.HasError) {
conn._context.Request.FinishInitialization ();
}
else {
@ -334,7 +334,7 @@ namespace WebSocketSharp.Net
_context.Request.AddHeader (line);
}
if (_context.HaveError)
if (_context.HasError)
return true;
}
}

View File

@ -109,7 +109,7 @@ namespace WebSocketSharp.Net
}
}
internal bool HaveError {
internal bool HasError {
get {
return _error != null && _error.Length > 0;
}