summaryrefslogtreecommitdiff
path: root/indra/newview/llvlmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvlmanager.cpp')
-rw-r--r--indra/newview/llvlmanager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llvlmanager.cpp b/indra/newview/llvlmanager.cpp
index c2bcd32921..f4c2c27cee 100644
--- a/indra/newview/llvlmanager.cpp
+++ b/indra/newview/llvlmanager.cpp
@@ -68,7 +68,11 @@ void LLVLManager::addLayerData(LLVLData *vl_datap, const S32Bytes mesg_size)
}
else
{
- LL_ERRS() << "Unknown layer type!" << (S32)vl_datap->mType << LL_ENDL;
+ // Corrupted message? New feature?
+ LL_WARNS() << "Unknown layer type!" << (S32)vl_datap->mType
+ << " for region " << vl_datap->mRegionp->getName() << LL_ENDL;
+ delete vl_datap; // addLayerData took ownership
+ return;
}
mPacketData.push_back(vl_datap);