fix fat-finger fix

Oz Linden 2013-02-13 13:08:03 -05:00
parent e679b1cdfc
commit 20e64fc6db
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ void LLViewerStatsRecorder::writeToLog( F32 interval )
<< "\n";
data_size = data_msg.str().size();
if (fwrite(data_msg.str().c_str(), 1, data_size, mObjectCacheFile )
if (fwrite(data_msg.str().c_str(), 1, data_size, mObjectCacheFile ) != data_size)
{
llwarns << "failed to write full stats to " << STATS_FILE_NAME << llendl;
}