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
(parent:
6d2d8f9
)
Fix bug with possible start all subsystems before timer becomes valid
author
Maxim Mamontov
<faust@gts.dp.ua>
Wed, 6 Apr 2011 09:55:05 +0000
(12:55 +0300)
committer
Maxim Mamontov
<faust@gts.dp.ua>
Wed, 6 Apr 2011 09:55:05 +0000
(12:55 +0300)
projects/stargazer/stg_timer.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/stg_timer.cpp
b/projects/stargazer/stg_timer.cpp
index dd0a04e1a9d249ceae200214b528d1b0a1f60e1f..6d2b4b0cdd245a28a33db648ba631befa64f123a 100644
(file)
--- a/
projects/stargazer/stg_timer.cpp
+++ b/
projects/stargazer/stg_timer.cpp
@@
-54,6
+54,8
@@
switch (START_TIME)
stgTime = mktime(<);
break;
}
+#else
+stgTime = time(NULL);
#endif
nonstop = 1;