fixed crash when setting cache_buffer_chunk_size to 0

This commit is contained in:
Arvid Norberg 2011-03-20 04:56:20 +00:00
parent 1b6227ad31
commit 11e5e2539a
1 changed files with 3 additions and 0 deletions

View File

@ -1682,6 +1682,9 @@ namespace aux {
m_settings = s;
if (m_settings.cache_buffer_chunk_size <= 0)
m_settings.cache_buffer_chunk_size = 1;
update_rate_settings();
if (connections_limit_changed) update_connections_limit();