From 697db024e1c5ce3e526c16ed9e2dbd90fb4339da Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 28 Nov 2024 19:24:22 -0500 Subject: [PATCH] Add more debug --- src/zm_packetqueue.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zm_packetqueue.cpp b/src/zm_packetqueue.cpp index a3764d31e..960f2541b 100644 --- a/src/zm_packetqueue.cpp +++ b/src/zm_packetqueue.cpp @@ -187,6 +187,8 @@ bool PacketQueue::queuePacket(std::shared_ptr add_packet) { if (*(*iterator_it) == zm_packet) { Debug(1, "Bumping IT because it is at the front that we are deleting"); ++(*iterator_it); + } else { + Debug(1, "Not Bumping IT because it is pointing at %d and we are %d", (*(*iterator_it))->image_index, zm_packet->image_index); } } // end foreach iterator