summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-05-27 18:08:49 -0700
committerJames Cook <james@lindenlab.com>2010-05-27 18:08:49 -0700
commit00e8b3548c931991d784f6f14c80ca29528a206d (patch)
tree28e8b509b9f75e7a53d3a0b7276dcdd4ad2ce249 /indra/llmessage
parentfee7b15417d2bb1374ec9f861db77e51cbca7fe5 (diff)
DEV-50013 Region debug top scripts/colliders display names
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llcachename.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmessage/llcachename.cpp b/indra/llmessage/llcachename.cpp
index f8c0d05baa..ef60fd5c4e 100644
--- a/indra/llmessage/llcachename.cpp
+++ b/indra/llmessage/llcachename.cpp
@@ -530,6 +530,12 @@ std::string LLCacheName::cleanFullName(const std::string& full_name)
//static
std::string LLCacheName::buildUsername(const std::string& full_name)
{
+ // rare, but handle hard-coded error names returned from server
+ if (full_name == "(\?\?\?) (\?\?\?)")
+ {
+ return "(\?\?\?)";
+ }
+
std::string::size_type index = full_name.find(' ');
if (index != std::string::npos)