- client: tweak [22842] so that system clock changes

of < 60 seconds are ignored

svn path=/trunk/boinc/; revision=22897
This commit is contained in:
David Anderson 2011-01-12 18:14:15 +00:00
parent a69e57d43c
commit f903c7cfc4
2 changed files with 8 additions and 1 deletions

View File

@ -88,3 +88,10 @@ David 11 Jan 2011
client/
cs_apps.cpp
pers_file_xfer.cpp
David 12 Jan 2011
- client: tweak [22842] so that system clock changes
of < 60 seconds are ignored
client/
client_state.h

View File

@ -253,7 +253,7 @@ struct CLIENT_STATE {
void clear_absolute_times();
inline void set_now() {
double x = dtime();
if (x < now) {
if (x < (now-60)) {
clear_absolute_times();
}
now = x;