aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/message.h
diff options
context:
space:
mode:
authorDavid Seikel2011-04-26 21:30:21 +1000
committerDavid Seikel2011-04-26 21:30:21 +1000
commitda97e24c3b045d16589124496d032ffb9b4ca07f (patch)
tree34d84cf4355f83e1a106d06a10ed2a4bb121fdc4 /linden/indra/llmessage/message.h
parentApparently there is a wrong client tag for firestorm out in the wild. (diff)
parentChanged version to Experimental 2011.04.19 (diff)
downloadmeta-impy-da97e24c3b045d16589124496d032ffb9b4ca07f.zip
meta-impy-da97e24c3b045d16589124496d032ffb9b4ca07f.tar.gz
meta-impy-da97e24c3b045d16589124496d032ffb9b4ca07f.tar.bz2
meta-impy-da97e24c3b045d16589124496d032ffb9b4ca07f.tar.xz
Merge remote-tracking branch 'imprudence/exp' into exp
Conflicts (for future reference): linden/indra/llcommon/llstring.cpp linden/indra/newview/llpanelnetwork.cpp linden/indra/newview/llselectmgr.cpp linden/indra/newview/llstartup.cpp linden/indra/newview/lltoolmgr.cpp linden/indra/newview/llvoavatar.cpp
Diffstat (limited to 'linden/indra/llmessage/message.h')
-rw-r--r--linden/indra/llmessage/message.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/linden/indra/llmessage/message.h b/linden/indra/llmessage/message.h
index 660cd2b..1ef15d2 100644
--- a/linden/indra/llmessage/message.h
+++ b/linden/indra/llmessage/message.h
@@ -66,6 +66,7 @@
66#include "llmessagesenderinterface.h" 66#include "llmessagesenderinterface.h"
67 67
68#include "llstoredmessage.h" 68#include "llstoredmessage.h"
69#include "llsocks5.h"
69 70
70const U32 MESSAGE_MAX_STRINGS_LENGTH = 64; 71const U32 MESSAGE_MAX_STRINGS_LENGTH = 64;
71const U32 MESSAGE_NUMBER_OF_HASH_BUCKETS = 8192; 72const U32 MESSAGE_NUMBER_OF_HASH_BUCKETS = 8192;
@@ -774,7 +775,18 @@ private:
774 LLMessagePollInfo *mPollInfop; 775 LLMessagePollInfo *mPollInfop;
775 776
776 U8 mEncodedRecvBuffer[MAX_BUFFER_SIZE]; 777 U8 mEncodedRecvBuffer[MAX_BUFFER_SIZE];
777 U8 mTrueReceiveBuffer[MAX_BUFFER_SIZE]; 778
779// Push current alignment to stack and set alignment to 1 byte boundary
780#pragma pack(push,1)
781
782 struct ReceiveBuffer_t
783 {
784 proxywrap_t header;
785 U8 buffer[MAX_BUFFER_SIZE];
786 } mTrueReceiveBuffer;
787
788#pragma pack(pop) /* restore original alignment from stack */
789
778 S32 mTrueReceiveSize; 790 S32 mTrueReceiveSize;
779 791
780 // Must be valid during decode 792 // Must be valid during decode