summaryrefslogtreecommitdiffstats
path: root/runtime/datetime.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/datetime.c')
-rw-r--r--runtime/datetime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/datetime.c b/runtime/datetime.c
index e0f3f5fa..5b9f5b6d 100644
--- a/runtime/datetime.c
+++ b/runtime/datetime.c
@@ -123,6 +123,8 @@ static void getCurrTime(struct syslogTime *t, time_t *ttSeconds)
t->OffsetMode = '+';
t->OffsetHour = lBias / 3600;
t->OffsetMinute = lBias % 3600;
+
+ t->timeType = 0; /* this is new and may cause format errors -- rgerhards, 2009-05-28 */
}