summaryrefslogtreecommitdiffstats
path: root/runtime
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 /runtime
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
Diffstat (limited to 'runtime')
-rw-r--r--runtime/msg.c2
1 files changed, 1 insertions, 1 deletions
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);