diff options
author | Oz Linden <oz@lindenlab.com> | 2013-02-13 13:08:03 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-02-13 13:08:03 -0500 |
commit | 20e64fc6db5de1e025ebd443b54350331b4f14cf (patch) | |
tree | e24637c8537e7ebafab02eb9e69d1c96546e26ea /indra/newview/llviewerstatsrecorder.cpp | |
parent | e679b1cdfc288004dcbc59a47a606728b5ad6ff4 (diff) |
fix fat-finger fix
Diffstat (limited to 'indra/newview/llviewerstatsrecorder.cpp')
-rw-r--r-- | indra/newview/llviewerstatsrecorder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerstatsrecorder.cpp b/indra/newview/llviewerstatsrecorder.cpp index 321684bf3f..f9a725547f 100644 --- a/indra/newview/llviewerstatsrecorder.cpp +++ b/indra/newview/llviewerstatsrecorder.cpp @@ -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; } |