diff --git a/src/CommunicationManager.cpp b/src/CommunicationManager.cpp index 6adeb20..b1ace6e 100644 --- a/src/CommunicationManager.cpp +++ b/src/CommunicationManager.cpp @@ -412,7 +412,7 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics() /*If the total size of msg reached transfer to topic*/ if(counter==header[3]){ - for(uint16_t i =1; i<=header[3]+1;i++){ + for(uint16_t i =1; i<=header[3];i++){ it = multi_msgs.find(i); std::cout<<"Transfering to topic chunk no. :"<first << "Size of current map" <second->size()<< std::endl; std::cout<<"Size of map : "<< multi_msgs.size()<< std::endl; @@ -430,7 +430,7 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics() } } - std::cout << "one multi message published in topic" << std::endl; + std::cout << "one multi message published in topic with size :" <