fix overflow in utp logging
This commit is contained in:
parent
4a6e012a5f
commit
8c0672a9b7
|
@ -2627,7 +2627,7 @@ bool utp_socket_impl::incoming_packet(char const* buf, int size
|
||||||
, m_bytes_in_flight
|
, m_bytes_in_flight
|
||||||
, 0.f // float(scaled_gain)
|
, 0.f // float(scaled_gain)
|
||||||
, m_rtt.mean()
|
, m_rtt.mean()
|
||||||
, int(m_cwnd * 1000 / (m_rtt.mean()?m_rtt.mean():50)) >> 16
|
, int((m_cwnd * 1000 / (m_rtt.mean()?m_rtt.mean():50)) >> 16)
|
||||||
, 0
|
, 0
|
||||||
, m_adv_wnd
|
, m_adv_wnd
|
||||||
, packet_timeout()
|
, packet_timeout()
|
||||||
|
|
Loading…
Reference in New Issue