diff --git a/common/net/daybreak_connection.cpp b/common/net/daybreak_connection.cpp index 103e24e30..379520057 100644 --- a/common/net/daybreak_connection.cpp +++ b/common/net/daybreak_connection.cpp @@ -1127,12 +1127,14 @@ void EQ::Net::DaybreakConnection::ProcessResend(int stream) auto time_since_first_sent = std::chrono::duration_cast(now - first_packet.first_sent).count(); if (time_since_first_sent >= m_owner->m_options.resend_timeout) { + auto now_ms = std::chrono::duration_cast(now.time_since_epoch()).count(); + auto first_sent_ms = std::chrono::duration_cast(first_packet.first_sent.time_since_epoch()).count(); LogNetClient( "Closing connection time_since_first_sent [{}] >= m_owner->m_options.resend_timeout [{}] now [{}] first_packet.first_sent [{}]", time_since_first_sent, m_owner->m_options.resend_timeout, - now, - first_packet.first_sent + now_ms, + first_sent_ms ); Close(); return;