Open GoogleCodeExporter opened 8 years ago
it was here in src/torrent.cpp
void torrent::on_name_lookup(error_code const& e, tcp::resolver::iterator host
, std::list<web_seed_entry>::iterator web, tcp::endpoint proxy)
{
TORRENT_ASSERT(m_ses.is_network_thread());
INVARIANT_CHECK;
...
if (e || host == tcp::resolver::iterator())
{
if (m_ses.m_alerts.should_post<url_seed_alert>())
m_ses.m_alerts.post_alert(url_seed_alert(get_handle(), web->url, e)); // error_code e may can be undefined?? cause url_seed_alert() constructor function calls e.message()
...
}
Original comment by mul...@gmail.com
on 2 Dec 2011 at 2:10
Original issue reported on code.google.com by
mul...@gmail.com
on 2 Dec 2011 at 1:47