fix build

This commit is contained in:
arvidn 2017-11-21 01:24:48 +01:00 committed by Arvid Norberg
parent 22f8bdfebc
commit c6f0c9c206
1 changed files with 2 additions and 2 deletions

View File

@ -142,9 +142,9 @@ TORRENT_TEST(force_proxy)
print_alerts(*ses, [&](lt::session& ses, lt::alert const* a) {
if (auto la = alert_cast<listen_succeeded_alert>(a))
{
if (la->sock_type == listen_succeeded_alert::tcp)
if (la->socket_type == socket_type_t::tcp)
++num_listen_tcp;
else if (la->sock_type == listen_succeeded_alert::udp)
else if (la->socket_type == socket_type_t::udp)
++num_listen_udp;
}
});