diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-04-04 14:40:32 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-04-04 14:40:32 -0600 |
commit | 1213e5d3548a111a39b6556c6178fc4bc655d367 (patch) | |
tree | 67bf321535c09d9ff1f9574fa3ae855cec25ba75 /indra/llmessage | |
parent | 17854c4e8702febaa8fe4adfbc678f9abaaa52c7 (diff) |
fix a crash inherited from viewer-development
Diffstat (limited to 'indra/llmessage')
-rw-r--r-- | indra/llmessage/llavatarnamecache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp index 767001b633..f6a1aca71b 100644 --- a/indra/llmessage/llavatarnamecache.cpp +++ b/indra/llmessage/llavatarnamecache.cpp @@ -561,7 +561,7 @@ void LLAvatarNameCache::eraseUnrefreshed() const LLAvatarName& av_name = cur->second; if (av_name.mExpires < max_unrefreshed) { - const LLUUID& agent_id = it->first; + const LLUUID& agent_id = cur->first; LL_DEBUGS("AvNameCache") << agent_id << " user '" << av_name.mUsername << "' " << "expired " << now - av_name.mExpires << " secs ago" |