summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-07 11:04:51 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-07 11:04:51 +0100
commita31321b80dc2221d34a0b170da482e51ac5c1fa3 (patch)
treecc605e3b2347aed34e8f6c31549ab2ce0253c4df /runtime/msg.c
parent479657a04531e3d654e2cce932789cf1888eaa3f (diff)
downloadrsyslog-a31321b80dc2221d34a0b170da482e51ac5c1fa3.tar.gz
rsyslog-a31321b80dc2221d34a0b170da482e51ac5c1fa3.tar.bz2
rsyslog-a31321b80dc2221d34a0b170da482e51ac5c1fa3.zip
bugfix: property tTIMESTAMP was incorrectly restored
in msg deserializer
Diffstat (limited to 'runtime/msg.c')
-rw-r--r--runtime/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/msg.c b/runtime/msg.c
index 34f7ba76..de0ca553 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -1213,7 +1213,7 @@ MsgDeserialize(msg_t *pMsg, strm_t *pStrm)
CHKiRet(objDeserializeProperty(pVar, pStrm));
}
if(isProp("tTIMESTAMP")) {
- memcpy(&pMsg->tRcvdAt, &pVar->val.vSyslogTime, sizeof(struct syslogTime));
+ memcpy(&pMsg->tTIMESTAMP, &pVar->val.vSyslogTime, sizeof(struct syslogTime));
reinitVar(pVar);
CHKiRet(objDeserializeProperty(pVar, pStrm));
}