summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-05-28 15:43:15 -0700
committerJames Cook <james@lindenlab.com>2010-05-28 15:43:15 -0700
commit892ac2bb1eec257bbf29d57738e819b7ff368bb9 (patch)
treeec1c8eb713b17c27e8e77f2bbd9f6380b246f32d /indra/newview
parentae91c0e7c6685932ee7789925662df139586cf3e (diff)
Added debugging code for names changes for when People API breaks
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelme.cpp2
-rw-r--r--indra/newview/llviewerdisplayname.cpp6
2 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llpanelme.cpp b/indra/newview/llpanelme.cpp
index d1ce59d436..cd0cbe8128 100644
--- a/indra/newview/llpanelme.cpp
+++ b/indra/newview/llpanelme.cpp
@@ -390,6 +390,8 @@ void LLPanelMyProfileEdit::onClickSetName()
return;
}
+ llinfos << "name-change now " << LLDate::now() << " next_update "
+ << LLDate(av_name.mNextUpdate) << llendl;
F64 now_secs = LLDate::now().secondsSinceEpoch();
if (now_secs < av_name.mNextUpdate)
{
diff --git a/indra/newview/llviewerdisplayname.cpp b/indra/newview/llviewerdisplayname.cpp
index a783cb03d8..bda0fe9737 100644
--- a/indra/newview/llviewerdisplayname.cpp
+++ b/indra/newview/llviewerdisplayname.cpp
@@ -166,9 +166,13 @@ class LLDisplayNameUpdate : public LLHTTPNode
LLAvatarName av_name;
av_name.fromLLSD( name_data );
+ llinfos << "name-update now " << LLDate::now()
+ << " next_update " << LLDate(av_name.mNextUpdate)
+ << llendl;
+
// Name expiration time may be provided in headers, or we may use a
// default value
- // JAMESDEBUG TODO: get actual headers out of ResponsePtr
+ // *TODO: get actual headers out of ResponsePtr
//LLSD headers = response->mHeaders;
LLSD headers;
av_name.mExpires =