diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-26 20:25:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-26 20:25:38 +0000 |
| commit | 0305cbdc3ae8525c74b2bb9b23884035549e3407 (patch) | |
| tree | b7eafbfbc759adeed8731227bd7f6cedd3f5ed05 /src/Timer.cc | |
| parent | 60b2990e397faccd6a2f4f1cf7f2285e45fb1876 (diff) | |
add Configuration class for generic configuration data load/save-ing.
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
Diffstat (limited to 'src/Timer.cc')
| -rw-r--r-- | src/Timer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Timer.cc b/src/Timer.cc index 443a7c46..99f05ba9 100644 --- a/src/Timer.cc +++ b/src/Timer.cc @@ -106,6 +106,6 @@ timeval BTimer::endpoint(void) const { bool BTimer::shouldFire(const timeval &tm) const { timeval end = endpoint(); - return !((tm.tv_sec < end.tv_sec) || - (tm.tv_sec == end.tv_sec && tm.tv_usec < end.tv_usec)); + return ! ((tm.tv_sec < end.tv_sec) || + (tm.tv_sec == end.tv_sec && tm.tv_usec < end.tv_usec)); } |
