aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/lltransfertargetfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/lltransfertargetfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llmessage/lltransfertargetfile.cpp b/linden/indra/llmessage/lltransfertargetfile.cpp
index f1f602d..2723cb7 100644
--- a/linden/indra/llmessage/lltransfertargetfile.cpp
+++ b/linden/indra/llmessage/lltransfertargetfile.cpp
@@ -80,7 +80,7 @@ LLTSCode LLTransferTargetFile::dataCallback(const S32 packet_id, U8 *in_datap, c
80 80
81 if (!mFP) 81 if (!mFP)
82 { 82 {
83 mFP = LLFile::fopen(mParams.mFilename.c_str(), "wb"); /* Flawfinder: ignore */ 83 mFP = LLFile::fopen(mParams.mFilename, "wb"); /* Flawfinder: ignore */
84 84
85 if (!mFP) 85 if (!mFP)
86 { 86 {
@@ -122,7 +122,7 @@ void LLTransferTargetFile::completionCallback(const LLTSCode status)
122 if (mFP) 122 if (mFP)
123 { 123 {
124 // Only need to remove file if we successfully opened it. 124 // Only need to remove file if we successfully opened it.
125 LLFile::remove(mParams.mFilename.c_str()); 125 LLFile::remove(mParams.mFilename);
126 } 126 }
127 default: 127 default:
128 break; 128 break;