diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llmessage/lltransfertargetfile.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/lltransfertargetfile.cpp | 4 |
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; |