fixed bug preventing clients to change the disk cache expiration time

This commit is contained in:
Arvid Norberg
2009-01-09 18:18:46 +00:00
parent 1ac4b29aa9
commit c21edfa6f1
2 changed files with 3 additions and 1 deletions

View File

@@ -585,7 +585,7 @@ namespace aux {
if (m_settings.cache_size != s.cache_size)
m_disk_thread.set_cache_size(s.cache_size);
if (m_settings.cache_expiry != s.cache_expiry)
m_disk_thread.set_cache_size(s.cache_expiry);
m_disk_thread.set_cache_expiry(s.cache_expiry);
// if queuing settings were changed, recalculate
// queued torrents sooner
if ((m_settings.active_downloads != s.active_downloads