summaryrefslogtreecommitdiff
path: root/indra/llmessage/llpacketbuffer.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-03 20:25:04 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-03 20:25:04 +0000
commit2879692aa2696af80a1f12daaf88b886412dacb5 (patch)
tree26bba9ad2716d6a63642cf7b0cb1ed036c145cba /indra/llmessage/llpacketbuffer.cpp
parenteab2f01b19b3a2ce46b2d44935097747a3eefadb (diff)
CID-277
Checker: UNINIT_CTOR Function: LLPacketBuffer::LLPacketBuffer(const LLHost &, const char *, int) File: /indra/llmessage/llpacketbuffer.cpp
Diffstat (limited to 'indra/llmessage/llpacketbuffer.cpp')
-rw-r--r--indra/llmessage/llpacketbuffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmessage/llpacketbuffer.cpp b/indra/llmessage/llpacketbuffer.cpp
index 027d35cf89..60ced66318 100644
--- a/indra/llmessage/llpacketbuffer.cpp
+++ b/indra/llmessage/llpacketbuffer.cpp
@@ -44,6 +44,8 @@ LLPacketBuffer::LLPacketBuffer(const LLHost &host, const char *datap, const S32
{
if (size > NET_BUFFER_SIZE)
{
+ mSize = 0;
+ mData[0] = 0;
llerrs << "Sending packet > " << NET_BUFFER_SIZE << " of size " << size << llendl;
}
else // we previously relied on llerrs being fatal to not get here...