From 9c4ee8229750c3b8517e0b5001213fd550691c0c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 11 Mar 2013 05:59:07 -0700 Subject: [PATCH] ITS#7377 Fix c0f3d9b9a8864e744a8d1eaffc99bc86026d5351 Add missing parens --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index c086bd915e..5eed96f356 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -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) { -- 2.39.5