From b20e463177d6d8714a94680b2a05747f882c13f3 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Mon, 14 Nov 2022 10:00:02 -0500 Subject: [PATCH] preserver stream state checking when reading 8bit values --- protocol/acn/pdu-stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/acn/pdu-stream.cpp b/protocol/acn/pdu-stream.cpp index 66c49cc..e928280 100644 --- a/protocol/acn/pdu-stream.cpp +++ b/protocol/acn/pdu-stream.cpp @@ -156,7 +156,7 @@ pdu_stream& pdu_stream::operator>> (pdu_stream_object& obj) */ pdu_stream& pdu_stream::operator>> (uint8_t& val) { - val = get(); + val = readType(); return *this; };