aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/message.cpp
diff options
context:
space:
mode:
authorChris Tuchs2011-05-08 03:06:23 -0700
committerChris Tuchs2011-05-08 03:06:23 -0700
commit7f1cbfae2af93ec11f79b8e2d1db22822ffb6dc7 (patch)
treefe9134ed7c34b81a39570d0988b7147f153bd9bb /linden/indra/llmessage/message.cpp
parentWindows build change I am sure of (diff)
downloadmeta-impy-7f1cbfae2af93ec11f79b8e2d1db22822ffb6dc7.zip
meta-impy-7f1cbfae2af93ec11f79b8e2d1db22822ffb6dc7.tar.gz
meta-impy-7f1cbfae2af93ec11f79b8e2d1db22822ffb6dc7.tar.bz2
meta-impy-7f1cbfae2af93ec11f79b8e2d1db22822ffb6dc7.tar.xz
Windows build changes, maybe only needed for vc2005. Mostly snprintf -> ll_snprintf, namespace hacks confused vc2005
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/message.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llmessage/message.cpp b/linden/indra/llmessage/message.cpp
index 9a80d7b..04665dc 100644
--- a/linden/indra/llmessage/message.cpp
+++ b/linden/indra/llmessage/message.cpp
@@ -3125,7 +3125,7 @@ bool LLMessageSystem::generateDigestForNumberAndUUIDs(
3125 3125
3126 d.update((const unsigned char *) colon, (U32)strlen(colon)); /* Flawfinder: ignore */ 3126 d.update((const unsigned char *) colon, (U32)strlen(colon)); /* Flawfinder: ignore */
3127 3127
3128 snprintf(tbuf, sizeof(tbuf),"%i", number); /* Flawfinder: ignore */ 3128 ll_snprintf(tbuf, sizeof(tbuf),"%i", number); /* Flawfinder: ignore */
3129 d.update((unsigned char *) tbuf, (U32)strlen(tbuf)); /* Flawfinder: ignore */ 3129 d.update((unsigned char *) tbuf, (U32)strlen(tbuf)); /* Flawfinder: ignore */
3130 3130
3131 d.update((const unsigned char *) colon, (U32)strlen(colon)); /* Flawfinder: ignore */ 3131 d.update((const unsigned char *) colon, (U32)strlen(colon)); /* Flawfinder: ignore */
@@ -3385,7 +3385,7 @@ void LLMessageSystem::dumpPacketToLog()
3385 for (i = 0; i < mTrueReceiveSize; i++) 3385 for (i = 0; i < mTrueReceiveSize; i++)
3386 { 3386 {
3387 S32 offset = cur_line_pos * 3; 3387 S32 offset = cur_line_pos * 3;
3388 snprintf(line_buffer + offset, sizeof(line_buffer) - offset, 3388 ll_snprintf(line_buffer + offset, sizeof(line_buffer) - offset,
3389 "%02x ", mTrueReceiveBuffer[i]); /* Flawfinder: ignore */ 3389 "%02x ", mTrueReceiveBuffer[i]); /* Flawfinder: ignore */
3390 cur_line_pos++; 3390 cur_line_pos++;
3391 if (cur_line_pos >= 16) 3391 if (cur_line_pos >= 16)