projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parsing absolute time should not send us 30,000 years into the future -- Tatsuki...
[rrdtool.git]
/
src
/
parsetime.c
diff --git
a/src/parsetime.c
b/src/parsetime.c
index
47ddbbf
..
919dd50
100644
(file)
--- a/
src/parsetime.c
+++ b/
src/parsetime.c
@@
-850,7
+850,7
@@
parsetime(const char *tspec, struct rrd_time_value *ptv)
if ( ptv->tm.tm_hour == 30 ){
ptv->tm.tm_hour = hour_sv;
}
- if ( ptv->tm.tm_
hou
r == 30000 ){
+ if ( ptv->tm.tm_
yea
r == 30000 ){
ptv->tm.tm_year = year_sv;
}
};