diff options
Diffstat (limited to 'indra/llmessage/llxfer_file.cpp')
-rw-r--r-- | indra/llmessage/llxfer_file.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llmessage/llxfer_file.cpp b/indra/llmessage/llxfer_file.cpp index 299c043d93..338dbdd215 100644 --- a/indra/llmessage/llxfer_file.cpp +++ b/indra/llmessage/llxfer_file.cpp @@ -269,7 +269,11 @@ S32 LLXfer_File::flush() if (mFp) { - fwrite(mBuffer,1,mBufferLength,mFp); + if (fwrite(mBuffer,1,mBufferLength,mFp) != mBufferLength) + { + llwarns << "Short write" << llendl; + } + // llinfos << "******* wrote " << mBufferLength << " bytes of file xfer" << llendl; fclose(mFp); mFp = NULL; |