From 4ce10cbdf568762b68c0ea37688d60440ed436ca Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 29 Oct 2019 20:19:19 +0100 Subject: [PATCH] protobuf: fix invalid sample flags --- lib/formats/protobuf.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/formats/protobuf.cpp b/lib/formats/protobuf.cpp index 2b764cd09..50aa52586 100644 --- a/lib/formats/protobuf.cpp +++ b/lib/formats/protobuf.cpp @@ -155,6 +155,7 @@ int protobuf_sscan(struct io *io, const char *buf, size_t len, size_t *rbytes, s struct sample *smp = smps[i]; Villas__Node__Sample *pb_smp = pb_msg->samples[i]; + smp->flags = 0; smp->signals = io->signals; if (pb_smp->type != VILLAS__NODE__SAMPLE__TYPE__DATA) {