From 75c82e8dc5f087e8a3e94aab91506f9c47525306 Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Thu, 26 Jan 2017 22:59:40 -0500 Subject: [PATCH] debug --- src/CommunicationManager.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/CommunicationManager.cpp b/src/CommunicationManager.cpp index 390420f..a24a3bd 100644 --- a/src/CommunicationManager.cpp +++ b/src/CommunicationManager.cpp @@ -386,14 +386,15 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics() delete[] header; } else{ - std::cout << "Multi packet message" << std::endl; - if (multi_msgs.empty() && header[0] == 0){ + std::cout << "Multi packet: check_cur:"< >::iterator it = multi_msgs.find(header[2]); if(it!=multi_msgs.end()){ multi_msgs.erase(it);