LLMessage V3 partial merge.

This commit is contained in:
Shyotl
2011-08-29 03:21:23 -05:00
parent 60c122ee15
commit 2ff52baa20
6 changed files with 9 additions and 6 deletions

View File

@@ -47,6 +47,7 @@
#include "llbuffer.h"
#include "lliopipe.h"
#include "llsd.h"
#include "llthread.h"
class LLMutex;

View File

@@ -33,7 +33,8 @@
#ifndef LL_LLHTTPNODE_H
#define LL_LLHTTPNODE_H
#include "llmemory.h"
#include "llpointer.h"
#include "llrefcount.h"
#include "llsd.h"
class LLChainIOFactory;

View File

@@ -41,7 +41,7 @@
#include "llsd.h"
#include "llsdserialize.h"
#include "llsdutil_math.h"
#include "llmemory.h"
#include "llpointer.h"
#include "message.h"
#include "message.h"

View File

@@ -36,7 +36,8 @@
#include "llhost.h"
#include "lluuid.h"
#include "llsd.h"
#include "llmemory.h"
#include "llrefcount.h"
#include "llpointer.h"
#include "v3math.h"
class LLMessageSystem;

View File

@@ -434,10 +434,9 @@ inline void LLTemplateMessageReader::getString(const char *block, const char *va
inline void LLTemplateMessageReader::getString(const char *block, const char *var, std::string& outstr, S32 blocknum )
{
char s[MTUBYTES];
s[0] = '\0';
char s[MTUBYTES + 1]= {0}; // every element is initialized with 0
getData(block, var, s, 0, blocknum, MTUBYTES);
s[MTUBYTES - 1] = '\0';
s[MTUBYTES] = '\0';
outstr = s;
}

View File

@@ -29,6 +29,7 @@
* COMPLETENESS OR PERFORMANCE.
* $/LicenseInfo$
*/
#include "linden_common.h"
#include "sound_ids.h"