]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9011 LMDB: fix typo in prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 4 May 2026 13:50:25 +0000 (14:50 +0100)
committerHoward Chu <hyc@openldap.org>
Mon, 4 May 2026 13:50:46 +0000 (14:50 +0100)
libraries/liblmdb/mdb.c

index f786c64366a5854cf781871bb275ca1a430c9c60..a701f8dd6ea695babbb6c67d9c11fbcb8abd4086 100644 (file)
@@ -3645,7 +3645,7 @@ mdb_txn_id(MDB_txn *txn)
 int mdb_txn_flags(MDB_txn *txn, unsigned int *flags)
 {
        if(!txn) return EINVAL;
-       flags = txn->mt_flags & MDB_RDONLY;
+       *flags = txn->mt_flags & MDB_RDONLY;
        return MDB_SUCCESS;
 }