aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--addressbook/backend/pas/pas-backend-file.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f405a7753..a2e5ab0d6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-03-30 Matt Loper <matt@helixcode.com>
+
+ * addressbook/backend/pas/pas-backend-file.c
+ (pas_backend_file_build_all_cards_list): Get first card (with
+ R_FIRST) on first seq().
+
2000-03-30 Chris Toshok <toshok@laptoph.xtoph.org>
* addressbook/backend/pas/pas-backend-ldap.h: new-file
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index 3dd0ced33a..0fd172c844 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -223,8 +223,8 @@ pas_backend_file_build_all_cards_list(PASBackend *backend,
DBT id_dbt, vcard_dbt;
cursor_data->elements = NULL;
-
- db_error = db->seq(db, &id_dbt, &vcard_dbt, R_NEXT);
+
+ db_error = db->seq(db, &id_dbt, &vcard_dbt, R_FIRST);
while (db_error == 0) {