From b519af5f954b9a9e029749894bc90343abb98e03 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 5 May 2014 17:03:26 +0900 Subject: [PATCH] Replaced HaveError with HasError --- websocket-sharp/Net/HttpConnection.cs | 4 ++-- websocket-sharp/Net/HttpListenerContext.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 9136fa25..7f217156 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -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; } } diff --git a/websocket-sharp/Net/HttpListenerContext.cs b/websocket-sharp/Net/HttpListenerContext.cs index 4624e882..60db71a1 100644 --- a/websocket-sharp/Net/HttpListenerContext.cs +++ b/websocket-sharp/Net/HttpListenerContext.cs @@ -109,7 +109,7 @@ namespace WebSocketSharp.Net } } - internal bool HaveError { + internal bool HasError { get { return _error != null && _error.Length > 0; }