summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-01-14 11:33:45 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-01-14 11:33:45 +0000
commita228e028aa23eaaae736bbe56b9861a951fa73b3 (patch)
tree051f2c253966a2a92ed4738c9bd162f0dfe981e5 /lib
parentae0f5b168bf704b53e45ac590e2b155a847dad01 (diff)
downloadmailutils-a228e028aa23eaaae736bbe56b9861a951fa73b3.tar.gz
mailutils-a228e028aa23eaaae736bbe56b9861a951fa73b3.tar.bz2
[WITH_BDB2] (mu_dbm_firstkey): db->cursor
takes three or four arguments, depending on the release of DB 2. Take care of it.
Diffstat (limited to 'lib')
-rw-r--r--lib/mu_dbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mu_dbm.c b/lib/mu_dbm.c
index 568459ebc..85b6d13f1 100644
--- a/lib/mu_dbm.c
+++ b/lib/mu_dbm.c
@@ -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;
}

Return to:

Send suggestions and report system problems to the System administrator.