summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorcallum <none@none>2012-06-29 10:36:04 -0700
committercallum <none@none>2012-06-29 10:36:04 -0700
commit11686a0917c7e6e67920aca46ade4624c5027c0e (patch)
tree69f56b63cf711b6aef97e0b06d981e5c8087375a /indra/llmessage
parentfd4708c2c4f221d9f2029072f786e169e119ba1a (diff)
parent326634e1bf9b87e9c9311b67539abb43323bd33c (diff)
Merge with viewer-beta
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llsdmessagereader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmessage/llsdmessagereader.cpp b/indra/llmessage/llsdmessagereader.cpp
index 3d8ca2ad9f..a6fccd2a56 100644
--- a/indra/llmessage/llsdmessagereader.cpp
+++ b/indra/llmessage/llsdmessagereader.cpp
@@ -276,7 +276,7 @@ S32 getElementSize(const LLSD& llsd)
case LLSD::TypeReal:
return sizeof(F64);
case LLSD::TypeString:
- return llsd.asString().size();
+ return llsd.size();
case LLSD::TypeUUID:
return sizeof(LLUUID);
case LLSD::TypeDate: