git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1a9bbae
)
Replace updating lastActivityTime via property with pure assignement
author
Maxim Mamontov
<faust@gts.dp.ua>
Thu, 21 Apr 2011 12:02:52 +0000
(15:02 +0300)
committer
Maxim Mamontov
<faust@gts.dp.ua>
Thu, 21 Apr 2011 12:02:52 +0000
(15:02 +0300)
projects/stargazer/user_impl.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/user_impl.cpp
b/projects/stargazer/user_impl.cpp
index 3f00f37174a0a8fc83599c2336768841d6917647..d89bbe47a796bc9180371b840685a2bb82997e4e 100644
(file)
--- a/
projects/stargazer/user_impl.cpp
+++ b/
projects/stargazer/user_impl.cpp
@@
-628,7
+628,7
@@
if (!authorizedBy.empty())
{
if (connected)
{
-
lastActivityTime = *const_cast<time_t *>(&stgTime)
;
+
property.Stat().lastActivityTime = stgTime
;
}
if (!connected && IsInetable())
{