aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/pas-backend-file.c
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-03-31 08:50:38 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-03-31 08:50:38 +0800
commit394ae06d04f2840da08ba63cc6b7e3d9657046b7 (patch)
treeb4ced65fdd586be0f78b14e12314d3e2fddb12e7 /addressbook/backend/pas/pas-backend-file.c
parent8078ec7c1f53897551f66503a602b15983ea47cb (diff)
downloadgsoc2013-evolution-394ae06d04f2840da08ba63cc6b7e3d9657046b7.tar
gsoc2013-evolution-394ae06d04f2840da08ba63cc6b7e3d9657046b7.tar.gz
gsoc2013-evolution-394ae06d04f2840da08ba63cc6b7e3d9657046b7.tar.bz2
gsoc2013-evolution-394ae06d04f2840da08ba63cc6b7e3d9657046b7.tar.lz
gsoc2013-evolution-394ae06d04f2840da08ba63cc6b7e3d9657046b7.tar.xz
gsoc2013-evolution-394ae06d04f2840da08ba63cc6b7e3d9657046b7.tar.zst
gsoc2013-evolution-394ae06d04f2840da08ba63cc6b7e3d9657046b7.zip
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
Diffstat (limited to 'addressbook/backend/pas/pas-backend-file.c')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c4
1 files changed, 2 insertions, 2 deletions
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) {