build fix for when DHT is disabled

This commit is contained in:
Arvid Norberg
2009-08-30 06:25:17 +00:00
parent b71dcf3021
commit f764227012
2 changed files with 4 additions and 0 deletions

View File

@@ -1439,6 +1439,7 @@ namespace aux {
}
}
#ifndef TORRENT_DISABLE_DHT
if (m_dht)
{
int dht_down;
@@ -1447,6 +1448,7 @@ namespace aux {
m_stat.sent_dht_bytes(dht_up);
m_stat.received_dht_bytes(dht_down);
}
#endif
if (m_settings.rate_limit_ip_overhead)
{