diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 601cb55a..c7352e91 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -423,13 +423,13 @@ namespace WebSocketSharp.Net } private string readLineFrom ( - byte[] buffer, int offset, int length, out int read + byte[] buffer, int offset, int length, out int nread ) { - read = 0; + nread = 0; for (var i = offset; i < length; i++) { - read++; + nread++; var b = buffer[i];