storage fix

This commit is contained in:
Arvid Norberg
2007-08-10 02:04:26 +00:00
parent b3e29ba8fa
commit 11b63bc93e

View File

@@ -1572,16 +1572,12 @@ namespace libtorrent
} }
if (m_unallocated_slots.empty()) if (m_unallocated_slots.empty())
{
m_state = state_create_files; m_state = state_create_files;
return false; else if (m_compact_mode)
}
if (m_compact_mode)
{
m_state = state_create_files; m_state = state_create_files;
return false; else
} m_state = state_allocating;
return false;
} }
m_state = state_full_check; m_state = state_full_check;
@@ -1601,7 +1597,7 @@ namespace libtorrent
| | | |
| v | v
| +------------+ | +------------+
| | allocating | |->| allocating |
| +------------+ | +------------+
| | | |
| v | v