Fix spelling. Thanks Marcus.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40899 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2011-03-10 07:58:55 +00:00
parent 00413d511c
commit 0a3b9e75e0
+3 -3
View File
@@ -95,10 +95,10 @@ status_t
BRawNetBuffer::ReadString(BString& string)
{
string = "";
int32 readed = _ReadStringAt(string, fReadPosition);
if (readed < 0)
int32 read = _ReadStringAt(string, fReadPosition);
if (read < 0)
return B_ERROR;
fReadPosition += readed;
fReadPosition += read;
return B_OK;
}