From: Howard Chu Date: Mon, 11 Mar 2013 12:59:07 +0000 (-0700) Subject: ITS#7377 Fix c0f3d9b9a8864e744a8d1eaffc99bc86026d5351 X-Git-Tag: OPENLDAP_REL_ENG_2_4_35~26^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c4ee8229750c3b8517e0b5001213fd550691c0c;p=openldap ITS#7377 Fix c0f3d9b9a8864e744a8d1eaffc99bc86026d5351 Add missing parens --- 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) {