summaryrefslogtreecommitdiff
path: root/indra/llmessage/lltransfermanager.cpp
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2014-08-18 13:02:20 -0700
committerAura Linden <aura@lindenlab.com>2014-08-18 13:02:20 -0700
commitf5181b03bbb99d4ca57d9f5f3a939c3b4e9a2243 (patch)
tree45397995d48776ec92b1f707016a0228dbbe862b /indra/llmessage/lltransfermanager.cpp
parentb12e241751bef94cecb99e5577f1a75f0cbe2147 (diff)
parentb021c90e7bccdd0f9a916946e7716a00034254c2 (diff)
Pulled merge from release
Diffstat (limited to 'indra/llmessage/lltransfermanager.cpp')
-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