зеркало из https://github.com/mozilla/pjs.git
Fix a crasher in openMDB because we were returning a wrong error code. R=chuang
This commit is contained in:
Родитель
eabb20fd43
Коммит
92673a754c
|
@ -708,6 +708,9 @@ NS_IMETHODIMP nsAddrDatabase::OpenMDB(nsFileSpec *dbName, PRBool create)
|
|||
}
|
||||
}
|
||||
}
|
||||
//Convert the DB error to a valid nsresult error.
|
||||
if (ret == 1)
|
||||
ret = NS_ERROR_FAILURE;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче