- if (!received.empty())
- XBT_WARN("lost %zu received message%s!",
- received.size(), ESSE(received.size()));
- if (!sent_comm.empty())
- XBT_WARN("lost %zu sent message%s!",
- sent_comm.size(), ESSE(sent_comm.size()));
+ check_for_lost_messages(ctrl_received.size(), "received ctrl");
+ check_for_lost_messages(data_received.size(), "received data");
+ check_for_lost_messages(ctrl_sent.size(), "sent ctrl");
+ check_for_lost_messages(data_sent.size(), "sent data");