fixed obvious errors introduced in previous commits

This commit is contained in:
Дмитрий Левин 2005-06-15 15:36:39 +00:00
parent 538f3f157b
commit f9ac189dfe

View File

@ -915,7 +915,7 @@ static int dbi_set_lock (dbiIndex dbi, DB *db, const char *dbhome, const char *d
* acquire a lock, but permit failures, as some other
* DBENV player may already have acquired the lock.
*/
if (!dbi->dbi_lockdbfd || dbi->dbi_use_dbenv)
if (!dbi->dbi_lockdbfd)
return 0;
int fdno = -1;