mapped storage fix

This commit is contained in:
Arvid Norberg 2008-02-17 20:30:24 +00:00
parent d334022216
commit 9a7e26b280
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ namespace libtorrent
return *this;
}
bool valid() const { return m_entry; }
bool valid() const { return m_entry && m_entry->file.const_data(); }
char* addr() const
{