diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llmessage/llpacketbuffer.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llmessage/llpacketbuffer.cpp b/indra/llmessage/llpacketbuffer.cpp index 60ced66318..441e8ddd27 100644 --- a/indra/llmessage/llpacketbuffer.cpp +++ b/indra/llmessage/llpacketbuffer.cpp @@ -42,13 +42,14 @@  LLPacketBuffer::LLPacketBuffer(const LLHost &host, const char *datap, const S32 size) : mHost(host)  { +	mSize = 0; +	mData[0] = '!'; +  	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... +	else  	{  		if (datap != NULL)  		{  | 
