fix stats build
This commit is contained in:
parent
012bfba3f7
commit
6ecf04137f
|
@ -4797,7 +4797,7 @@ namespace libtorrent
|
|||
void peer_connection::append_const_send_buffer(char const* buffer, int size)
|
||||
{
|
||||
m_send_buffer.append_buffer((char*)buffer, size, size, &nop);
|
||||
#ifdef TORRENT_STATS
|
||||
#if defined TORRENT_STATS && defined TORRENT_DISK_STATS
|
||||
m_ses.m_buffer_usage_logger << log_time() << " append_const_send_buffer: " << size << std::endl;
|
||||
m_ses.log_buffer_usage();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue