summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorAaron Brashears <aaronb@lindenlab.com>2009-03-05 19:27:11 +0000
committerAaron Brashears <aaronb@lindenlab.com>2009-03-05 19:27:11 +0000
commit6f25d31e8503db4cd5002151160d79e71cf83be8 (patch)
tree0cd30b2d480537685ee5a5f8cd901304ccccf069 /indra/llmessage
parent30d5d834379c421a4146cb23d640b770e79892d6 (diff)
revert revision 113792. wrong branch
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-xindra/llmessage/llsdmessagereader.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/llmessage/llsdmessagereader.cpp b/indra/llmessage/llsdmessagereader.cpp
index e699ec9e28..c47d4b78bc 100755
--- a/indra/llmessage/llsdmessagereader.cpp
+++ b/indra/llmessage/llsdmessagereader.cpp
@@ -108,12 +108,6 @@ void LLSDMessageReader::getBinaryData(const char *block, const char *var,
data_size = max_size;
}
- // Calls to memcpy will fail if data_size is not positive.
- // Phoenix 2009-02-27
- if(data_size <= 0)
- {
- return;
- }
memcpy(datap, &(data[0]), data_size);
}