Add missing parens
This commit is contained in:
Howard Chu 2013-03-11 05:59:07 -07:00
parent b1da555c4c
commit 9c4ee82297

View File

@ -1849,7 +1849,7 @@ mdb_txn_renew(MDB_txn *txn)
{
int rc;
if (! (txn && txn->mt_flags & MDB_TXN_RDONLY))
if (! (txn && (txn->mt_flags & MDB_TXN_RDONLY)))
return EINVAL;
if (txn->mt_env->me_flags & MDB_FATAL_ERROR) {