From 468049294f22d48ab9b43e9e5d88f5457bb04002 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 29 Mar 2000 02:08:23 +0000 Subject: Removed an infinite loop. 2000-03-28 Christopher James Lahey * addressbook/backend/pas/pas-backend-file.c: Removed an infinite loop. * addressbook/backend/ebook/test-client-list.c: New test that doesn't add an extra database item. * addressbook/backend/ebook/Makefile.am, addressbook/backend/ebook/.cvsignore: Added test-client-list. svn path=/trunk/; revision=2239 --- addressbook/backend/pas/pas-backend-file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'addressbook/backend/pas') diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index 73f4f67fc9..5c108f740a 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -234,7 +234,6 @@ pas_backend_file_build_all_cards_list(PASBackend *backend, /* don't include the version in the list of cards */ if (!strcmp (id, PAS_BACKEND_FILE_VERSION_NAME)) { g_free(id); - continue; } else { g_free(id); @@ -295,7 +294,7 @@ pas_backend_file_process_get_all_cards (PASBackend *backend, gtk_signal_connect(GTK_OBJECT(cursor), "destroy", GTK_SIGNAL_FUNC(cursor_destroy), cursor_data); - + pas_book_respond_get_cursor ( book, (db_error == 0 -- cgit v1.2.3