[WITH_BDB2] (mu_dbm_firstkey): db->cursor
takes three or four arguments, depending on the release of DB 2. Take care of it.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -266,7 +266,7 @@ mu_dbm_firstkey (DBM_FILE db) | ... | @@ -266,7 +266,7 @@ mu_dbm_firstkey (DBM_FILE db) |
266 | 266 | ||
267 | if (!db->dbc) | 267 | if (!db->dbc) |
268 | { | 268 | { |
269 | if (db->db->cursor(db->db, NULL, &db->dbc, 0) != 0) | 269 | if (db->db->cursor(db->db, NULL, &db->dbc BDB2_CURSOR_LASTARG) != 0) |
270 | return key; | 270 | return key; |
271 | } | 271 | } |
272 | 272 | ... | ... |
-
Please register or sign in to post a comment