Skip to content
Snippets Groups Projects
Commit 20e64fc6 authored by Oz Linden's avatar Oz Linden
Browse files

fix fat-finger fix

parent e679b1cd
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment