summaryrefslogtreecommitdiff
path: root/indra/llvfs/llvfs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llvfs/llvfs.cpp')
-rw-r--r--indra/llvfs/llvfs.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llvfs/llvfs.cpp b/indra/llvfs/llvfs.cpp
index 39b12035c9..89ad65be9f 100644
--- a/indra/llvfs/llvfs.cpp
+++ b/indra/llvfs/llvfs.cpp
@@ -915,7 +915,11 @@ void LLVFS::renameFile(const LLUUID &file_id, const LLAssetType::EType file_type
for (S32 i = 0; i < (S32)VFSLOCK_COUNT; i++)
{
- src_block->mLocks[(EVFSLock)i] = dest_block->mLocks[(EVFSLock)i];
+ if(dest_block->mLocks[i])
+ {
+ llerrs << "Renaming VFS block to a locked file." << llendl;
+ }
+ dest_block->mLocks[i] = src_block->mLocks[i];
}
mFileBlocks.erase(new_spec);