summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-09-08 12:28:24 -0700
committercallum_linden <none@none>2014-09-08 12:28:24 -0700
commitbd701ca99b7bd31559add2e94e533ee3bc3ff025 (patch)
tree563d4b63b4c741c15d6767f67c5f9fb2f4f762ba /indra/llmessage
parent77751a15d1dc976d77d41db5b586e18b5311ccb4 (diff)
parenteef4acc5367a486b0c52c6ce5e1aba995fefd99c (diff)
Merge with head of viewer-release
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