From aa8e1665282910d9900c900a5c3901ed9366bb1b Mon Sep 17 00:00:00 2001 From: Wiebe Cazemier Date: Tue, 22 Feb 2022 21:52:50 +0100 Subject: [PATCH] Fix not counting the non-packet-copy QoS path --- session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session.cpp b/session.cpp index b439d9f..309afe7 100644 --- a/session.cpp +++ b/session.cpp @@ -231,7 +231,7 @@ void Session::writePacket(MqttPacket &packet, char max_qos, std::shared_ptrwriteMqttPacketAndBlameThisClient(packet); + count += c->writeMqttPacketAndBlameThisClient(packet); } } } -- libgit2 0.21.4