summaryrefslogtreecommitdiffstats
path: root/runtime/datetime.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-04-03 18:20:52 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-03 18:20:52 +0200
commit04b06af335bedcb651ccffd852863b7d17bf20dc (patch)
tree420db042ae322b6c0b29b3e6b25398e78531e0cb /runtime/datetime.c
parentce6b7e86cdd63ba1540d20aa22403d2b13d2e59f (diff)
downloadrsyslog-04b06af335bedcb651ccffd852863b7d17bf20dc.tar.gz
rsyslog-04b06af335bedcb651ccffd852863b7d17bf20dc.tar.xz
rsyslog-04b06af335bedcb651ccffd852863b7d17bf20dc.zip
improved parser test suite
new tests added, now much better
Diffstat (limited to 'runtime/datetime.c')
-rw-r--r--runtime/datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/datetime.c b/runtime/datetime.c
index 676f76d5..deb66eb4 100644
--- a/runtime/datetime.c
+++ b/runtime/datetime.c
@@ -479,7 +479,7 @@ ParseTIMESTAMP3164(struct syslogTime *pTime, char** ppszTS)
if(hour > 1970 && hour < 2100) {
/* if so, we assume this actually is a year. This is a format found
* e.g. in Cisco devices.
- * (if you read this 2100+ trying to fix a bug, congratulate myself
+ * (if you read this 2100+ trying to fix a bug, congratulate me
* to how long the code survived - me no longer ;)) -- rgerhards, 2008-11-18
*/
year = hour;