summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2014-09-04 13:02:21 -0700
committerdolphin <dolphin@lindenlab.com>2014-09-04 13:02:21 -0700
commit51e65a4b5254aadb90660a237b47b9f90875d889 (patch)
tree1db9114fb8d4dd9e4632a1671488595425a9390b /indra/llmessage
parentda639d1c9817c7333b959638e9a33b6ae7c664c0 (diff)
parentb021c90e7bccdd0f9a916946e7716a00034254c2 (diff)
Merge
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