forked from premiere/premiere-libtorrent
fix error reporting for enum_net_interfaces
This commit is contained in:
parent
a985773f4b
commit
432131e493
|
@ -426,10 +426,9 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
TORRENT_UNUSED(ios); // this may be unused depending on configuration
|
TORRENT_UNUSED(ios); // this may be unused depending on configuration
|
||||||
std::vector<ip_interface> ret;
|
std::vector<ip_interface> ret;
|
||||||
|
ec.clear();
|
||||||
#if defined TORRENT_BUILD_SIMULATOR
|
#if defined TORRENT_BUILD_SIMULATOR
|
||||||
|
|
||||||
TORRENT_UNUSED(ec);
|
|
||||||
|
|
||||||
std::vector<address> ips = ios.get_ips();
|
std::vector<address> ips = ios.get_ips();
|
||||||
|
|
||||||
for (int i = 0; i < int(ips.size()); ++i)
|
for (int i = 0; i < int(ips.size()); ++i)
|
||||||
|
|
Loading…
Reference in New Issue