merge invalid assert fix from RC_0_16

This commit is contained in:
Arvid Norberg 2014-02-07 09:35:08 +00:00
parent 0398dfe498
commit b3de578fe7
1 changed files with 1 additions and 1 deletions

View File

@ -1799,7 +1799,7 @@ namespace libtorrent
#endif
TORRENT_ASSERT(j.buffer);
session_settings const* s = ((session_settings*)j.buffer);
TORRENT_ASSERT(s->cache_size >= 0);
TORRENT_ASSERT(s->cache_size >= -1);
TORRENT_ASSERT(s->cache_expiry > 0);
#if defined TORRENT_WINDOWS