From 394ae06d04f2840da08ba63cc6b7e3d9657046b7 Mon Sep 17 00:00:00 2001 From: Matthew Loper Date: Fri, 31 Mar 2000 00:50:38 +0000 Subject: Get first card (with R_FIRST) on first seq(). * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_build_all_cards_list): Get first card (with R_FIRST) on first seq(). svn path=/trunk/; revision=2265 --- ChangeLog | 6 ++++++ addressbook/backend/pas/pas-backend-file.c | 4 ++-- 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 + + * 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 * 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) { -- cgit