Fixed bug am42307 (nvault_open did not return -1 on failure)

This commit is contained in:
David Anderson
2006-08-18 22:46:07 +00:00
parent a8b4ebbe70
commit 042b9f7f4b
5 changed files with 56 additions and 5 deletions

View File

@ -18,7 +18,9 @@ int Journal::Replay(VaultMap *pMap)
{
m_fp = fopen(m_File.c_str(), "rb");
if (!m_fp)
{
return -1;
}
BinaryReader br(m_fp);