git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4200217
)
Fix arnied scheduler by redefining StNimmerleinsDay from -1 to INT_MAX -> arnied...
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 27 Apr 2009 12:21:17 +0000 (14:21 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 27 Apr 2009 12:21:17 +0000 (14:21 +0200)
src/cron.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/cron.cpp
b/src/cron.cpp
index
2d9b8a0
..
0b2e8fc
100644
(file)
--- a/
src/cron.cpp
+++ b/
src/cron.cpp
@@
-8,6
+8,7
@@
*
*/
#include <time.h>
+#include <limits.h>
#include <stdexcept>
#include <iostream>
@@
-16,7
+17,7
@@
namespace I2n {
namespace Time {
-const time_t WeekCron::StNimmerleinsDay = static_cast<time_t>(-1);
+const time_t WeekCron::StNimmerleinsDay = static_cast<time_t>(INT_MAX);
/**
* Constructor, leaves object in invalid state