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)
if (!db->dbc)
{
if (db->db->cursor(db->db, NULL, &db->dbc, 0) != 0)
if (db->db->cursor(db->db, NULL, &db->dbc BDB2_CURSOR_LASTARG) != 0)
return key;
}
......