diff options
author | James Cook <james@lindenlab.com> | 2010-04-26 14:19:58 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-04-26 14:19:58 -0700 |
commit | e4f2887983dc6f473c6657b8b653437557c638fa (patch) | |
tree | cc74079f6a530e94215d07221b643b8fac3a7c6d /indra/llcommon | |
parent | 7c913b91163cb2cb9e1829b523d1678a74230e93 (diff) |
Don't save dummy records (from 503 errors) to disk cache
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llavatarname.cpp | 1 | ||||
-rw-r--r-- | indra/llcommon/llavatarname.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/llavatarname.cpp b/indra/llcommon/llavatarname.cpp index c35b8380b8..4272e096ed 100644 --- a/indra/llcommon/llavatarname.cpp +++ b/indra/llcommon/llavatarname.cpp @@ -49,6 +49,7 @@ LLAvatarName::LLAvatarName() : mSLID(), mDisplayName(), mIsDisplayNameDefault(false), + mIsDummy(false), mExpires(F64_MAX), mBadge() { } diff --git a/indra/llcommon/llavatarname.h b/indra/llcommon/llavatarname.h index b30dca6e6e..3e26887d7a 100644 --- a/indra/llcommon/llavatarname.h +++ b/indra/llcommon/llavatarname.h @@ -61,6 +61,11 @@ public: // a legacy first and last name, like "James Linden (james.linden)" bool mIsDisplayNameDefault; + // Under error conditions, we may insert "dummy" records with + // names like "???" into caches as placeholders. These can be + // shown in UI, but are not serialized. + bool mIsDummy; + // Names can change, so need to keep track of when name was // last checked. // Unix time-from-epoch seconds for efficiency |