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);