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 --- addressbook/backend/pas/pas-backend-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addressbook') 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