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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user