fix utp counter initialization

This commit is contained in:
Arvid Norberg 2013-10-04 03:49:04 +00:00
parent 8df6616664
commit 0a230d4b25
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ namespace libtorrent
, m_last_route_update(min_time())
, m_last_if_update(min_time())
, m_sock_buf_size(0)
{}
{
memset(m_counters, 0, sizeof(m_counters));
}
utp_socket_manager::~utp_socket_manager()
{