Fixed DynamicObject::DumpObjects().

This commit is contained in:
Gunnar Beutner 2012-12-04 15:41:07 +01:00
parent 28e58df3aa
commit ea115a2c8c
1 changed files with 0 additions and 11 deletions

View File

@ -362,17 +362,6 @@ void DynamicObject::DumpObjects(const String& filename)
String json = value.Serialize();
NetString::WriteStringToStream(sfp, json);
size_t count;
while ((count = sfp->GetAvailableBytes()) > 0) {
char buffer[1024];
if (count > sizeof(buffer))
count = sizeof(buffer);
sfp->Read(buffer, count);
fp.write(buffer, count);
}
}
}