Commit a228e028 a228e028aa23eaaae736bbe56b9861a951fa73b3 by Sergey Poznyakoff

[WITH_BDB2] (mu_dbm_firstkey): db->cursor

takes three or four arguments, depending on the release
of DB 2. Take care of it.
1 parent ae0f5b16
...@@ -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
......