summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-06-07 11:01:13 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-06-07 11:01:13 +0200
commitcf51333f7617e586ca1d4cf5202e3d42f14c96ea (patch)
treeabfa9cc8984be17fe76eebb0b144ebc23749cbd0
parent2687d0010ca0ec691235a69c9da021719b61e8cd (diff)
downloadrsyslog-cf51333f7617e586ca1d4cf5202e3d42f14c96ea.tar.gz
rsyslog-cf51333f7617e586ca1d4cf5202e3d42f14c96ea.tar.xz
rsyslog-cf51333f7617e586ca1d4cf5202e3d42f14c96ea.zip
fixed a bug with the new property replacer option
there was a copy&paste error in the timereported property - thanks to Elizabeth for reporting it
-rw-r--r--ChangeLog2
-rw-r--r--runtime/msg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e193e83b..190c659d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
---------------------------------------------------------------------------
Version 3.19.7 (rgerhards), 2008-06-??
-- added new property replacer option "time-subseconds" that enables
+- added new property replacer option "date-subseconds" that enables
to query just the subsecond part of a high-precision timestamp
---------------------------------------------------------------------------
Version 3.19.6 (rgerhards), 2008-06-06
diff --git a/runtime/msg.c b/runtime/msg.c
index e2d0b54c..19a75944 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -749,7 +749,7 @@ char *getTimeReported(msg_t *pM, enum tplFormatTypes eFmt)
MsgUnlock(pM);
return ""; /* TODO: check this: can it cause a free() of constant memory?) */
}
- datetime.formatTimestampSecFrac(&pM->tTIMESTAMP, pM->pszTIMESTAMP3339, 10);
+ datetime.formatTimestampSecFrac(&pM->tTIMESTAMP, pM->pszTIMESTAMP_SecFrac, 10);
}
MsgUnlock(pM);
return(pM->pszTIMESTAMP_SecFrac);