fix builds for all combinations of stats and disk stats

This commit is contained in:
Arvid Norberg
2010-01-31 20:32:12 +00:00
parent ca20d2d600
commit 3bc40b9980
4 changed files with 11 additions and 9 deletions

View File

@@ -3395,7 +3395,7 @@ namespace aux {
#endif
}
#ifdef TORRENT_STATS
#if defined TORRENT_STATS && defined TORRENT_DISK_STATS
void session_impl::log_buffer_usage()
{
int send_buffer_capacity = 0;