diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-file.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -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) { |