aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterinspect.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-01-28 20:04:52 -0600
committerJacek Antonelli2009-01-28 20:05:02 -0600
commit0ef11cf31364456ec247b0fc7ad8f6d1de408400 (patch)
tree50754b286468147a70271253a2a74215c80e1354 /linden/indra/newview/llfloaterinspect.cpp
parentSecond Life viewer sources 1.22.5-RC (diff)
downloadmeta-impy-0ef11cf31364456ec247b0fc7ad8f6d1de408400.zip
meta-impy-0ef11cf31364456ec247b0fc7ad8f6d1de408400.tar.gz
meta-impy-0ef11cf31364456ec247b0fc7ad8f6d1de408400.tar.bz2
meta-impy-0ef11cf31364456ec247b0fc7ad8f6d1de408400.tar.xz
Second Life viewer sources 1.22.6-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterinspect.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterinspect.cpp b/linden/indra/newview/llfloaterinspect.cpp
index 7839729..b94efb9 100644
--- a/linden/indra/newview/llfloaterinspect.cpp
+++ b/linden/indra/newview/llfloaterinspect.cpp
@@ -213,6 +213,12 @@ void LLFloaterInspect::refresh()
213 LLSD row; 213 LLSD row;
214 char time[MAX_STRING]; 214 char time[MAX_STRING];
215 std::string owner_name, creator_name; 215 std::string owner_name, creator_name;
216
217 if (obj->mCreationDate == 0)
218 { // Don't have valid information from the server, so skip this one
219 continue;
220 }
221
216 time_t timestamp = (time_t) (obj->mCreationDate/1000000); 222 time_t timestamp = (time_t) (obj->mCreationDate/1000000);
217 LLStringUtil::copy(time, ctime(&timestamp), MAX_STRING); 223 LLStringUtil::copy(time, ctime(&timestamp), MAX_STRING);
218 time[24] = '\0'; 224 time[24] = '\0';