]> git.sur5r.net Git - openldap/commit
mdb_cursor_prev,mdb_cursor_next: Fix return value.
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 19 Feb 2013 21:02:15 +0000 (22:02 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 19 Feb 2013 21:02:15 +0000 (22:02 +0100)
commit2dbb8bb833f8495f3638900ca8aaad67e8817658
treeaa58f7bcc853082970723a658228ff0a703d0b05
parente4af9ee5daa207dd726091e9878750e1dbc0c58b
mdb_cursor_prev,mdb_cursor_next: Fix return value.

Return mdb_node_read()'s return value if it fails, not 1.
(Can happen if mdb_page_get() fails and NDEBUG is #defined.)
libraries/liblmdb/mdb.c