From a31321b80dc2221d34a0b170da482e51ac5c1fa3 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 7 Nov 2012 11:04:51 +0100 Subject: bugfix: property tTIMESTAMP was incorrectly restored in msg deserializer --- runtime/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/msg.c') 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)); } -- cgit v1.2.3