aboutsummaryrefslogtreecommitdiffstats
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
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
-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) {