summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2014-07-22 17:24:00 -0700
committerAura Linden <aura@lindenlab.com>2014-07-22 17:24:00 -0700
commit3d4acb535d75c4cc78c93dee318bcffaca691237 (patch)
tree6bde5b24d7bf8629962af465be3a38aa32149edb /indra/llmessage
parent2121ffcdabf97745f1fc4db6d5183b1d8cb57ce9 (diff)
Appears to fix MAINT-4184
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-xindra/llmessage/lltransfermanager.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llmessage/lltransfermanager.cpp b/indra/llmessage/lltransfermanager.cpp
index d6db20d7a3..ec7b21d8b6 100755
--- a/indra/llmessage/lltransfermanager.cpp
+++ b/indra/llmessage/lltransfermanager.cpp
@@ -1260,9 +1260,13 @@ bool LLTransferTarget::addDelayedPacket(
size);
#ifdef _DEBUG
- if (mDelayedPacketMap.find(packet_id) != mDelayedPacketMap.end())
+ transfer_packet_map::iterator iter = mDelayedPacketMap.find(packet_id);
+ if (iter != mDelayedPacketMap.end())
{
- LL_ERRS() << "Packet ALREADY in delayed packet map!" << LL_ENDL;
+ if (!(iter->second->mSize == size) && !(iter->second->mDatap == datap))
+ {
+ LL_ERRS() << "Packet ALREADY in delayed packet map!" << LL_ENDL;
+ }
}
#endif