summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorSam Kolb <skolb@lindenlab.com>2008-06-19 22:01:35 +0000
committerSam Kolb <skolb@lindenlab.com>2008-06-19 22:01:35 +0000
commitaf080d1c62f1a2cdc17c3870427f07ad0cf9534f (patch)
treebd1fba333575c34aab4b96520b759d572a877267 /indra
parent1af69c39af0925f2b1fc955327a26f9519823a55 (diff)
Fixes issue with non-null terminated string
Reviewed by Steve
Diffstat (limited to 'indra')
-rw-r--r--indra/llxml/llxmlnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llxml/llxmlnode.cpp b/indra/llxml/llxmlnode.cpp
index 1fcacb46a5..bd465c30f0 100644
--- a/indra/llxml/llxmlnode.cpp
+++ b/indra/llxml/llxmlnode.cpp
@@ -492,7 +492,7 @@ void XMLCALL XMLData(void *userData,
return;
}
}
- value.append(LLString(s, 0, len));
+ value.append(std::string(s, len));
current_node->setValue(value);
}