--- a/ctorrent/btcontent.cpp +++ b/ctorrent/btcontent.cpp @@ -761,6 +761,7 @@ int btContent::NeedFlush() const (m_cache_oldest && m_cache_oldest->bc_f_flush && m_cache_used >= cfg_cache_size*1024*1024-cfg_req_slice_size+1)) ? 1 : 0; + return 0; } void btContent::FlushCache()