aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llxfer_file.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llmessage/llxfer_file.cpp
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
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;