From b3ca300b26f2c3524a819b38376b4daa7b818964 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 3 Oct 2019 11:34:59 +0200 Subject: [PATCH] fix invalid variable name --- lib/formats/msg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/formats/msg.cpp b/lib/formats/msg.cpp index 4568440af..9fdcfc456 100644 --- a/lib/formats/msg.cpp +++ b/lib/formats/msg.cpp @@ -110,8 +110,8 @@ int msg_from_sample(struct msg *msg_in, struct sample *smp, struct vlist *signal { msg_in->type = MSG_TYPE_DATA; msg_in->version = MSG_VERSION; - msg_in->rsvd1 = 0; - msg_in->resv2 = 0; + msg_in->reserved1 = 0; + msg_in->reserved2 = 0; msg_in->length = (uint16_t) smp->length; msg_in->sequence = (uint32_t) smp->sequence; msg_in->ts.sec = smp->ts.origin.tv_sec;