diff options
Diffstat (limited to 'indra/llmessage/lltransfersourcefile.cpp')
-rw-r--r-- | indra/llmessage/lltransfersourcefile.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llmessage/lltransfersourcefile.cpp b/indra/llmessage/lltransfersourcefile.cpp index c1df0f25aa..0d58bf7917 100644 --- a/indra/llmessage/lltransfersourcefile.cpp +++ b/indra/llmessage/lltransfersourcefile.cpp @@ -144,9 +144,7 @@ void LLTransferSourceParamsFile::packParams(LLDataPacker &dp) const BOOL LLTransferSourceParamsFile::unpackParams(LLDataPacker &dp) { - char tmp_str[512]; /* Flawfinder: ignore */ - dp.unpackString(tmp_str, "Filename"); - mFilename = tmp_str; + dp.unpackString(mFilename, "Filename"); U8 delete_flag; dp.unpackU8(delete_flag, "Delete"); mDeleteOnCompletion = delete_flag; |