forked from premiere/premiere-libtorrent
fixed broken DHT round trip logging
This commit is contained in:
parent
0cfbce92f7
commit
cf7a6e6029
|
@ -272,7 +272,7 @@ bool rpc_manager::incoming(msg const& m)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||||
std::ofstream reply_stats("libtorrent_logs/round_trip_ms.log", std::ios::app);
|
std::ofstream reply_stats("round_trip_ms.log", std::ios::app);
|
||||||
reply_stats << m.addr << "\t" << total_milliseconds(time_now() - o->sent)
|
reply_stats << m.addr << "\t" << total_milliseconds(time_now() - o->sent)
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue