aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llxfer_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmessage/llxfer_file.cpp')
-rw-r--r--linden/indra/llmessage/llxfer_file.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/llmessage/llxfer_file.cpp b/linden/indra/llmessage/llxfer_file.cpp
index 33db248..b36dd5a 100644
--- a/linden/indra/llmessage/llxfer_file.cpp
+++ b/linden/indra/llmessage/llxfer_file.cpp
@@ -289,7 +289,11 @@ S32 LLXfer_File::flush()
289 289
290 if (mFp) 290 if (mFp)
291 { 291 {
292 fwrite(mBuffer,1,mBufferLength,mFp); 292 if (fwrite(mBuffer,1,mBufferLength,mFp) != mBufferLength)
293 {
294 llwarns << "Short write" << llendl;
295 }
296
293// llinfos << "******* wrote " << mBufferLength << " bytes of file xfer" << llendl; 297// llinfos << "******* wrote " << mBufferLength << " bytes of file xfer" << llendl;
294 fclose(mFp); 298 fclose(mFp);
295 mFp = NULL; 299 mFp = NULL;