From cf51333f7617e586ca1d4cf5202e3d42f14c96ea Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Sat, 7 Jun 2008 11:01:13 +0200 Subject: 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 --- ChangeLog | 2 +- runtime/msg.c | 2 +- 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); -- cgit