aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-book.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-19 04:50:28 +0800
committerDan Winship <danw@src.gnome.org>2002-04-19 04:50:28 +0800
commit0c7e55e75cc787269ab570588f3873b6279aede1 (patch)
tree0e6a02975caead1fc6f2ffbc58a206a7cc956e4a /addressbook/backend/ebook/e-book.c
parent6ac64665014118cbf90acb3d513317676a6a54a3 (diff)
downloadgsoc2013-evolution-0c7e55e75cc787269ab570588f3873b6279aede1.tar.gz
gsoc2013-evolution-0c7e55e75cc787269ab570588f3873b6279aede1.tar.zst
gsoc2013-evolution-0c7e55e75cc787269ab570588f3873b6279aede1.zip
Append /addressbook.db to the end of the default URI if it starts with
* backend/ebook/e-book-util.c (e_book_load_default_book): Append /addressbook.db to the end of the default URI if it starts with file: * backend/ebook/e-book.c (e_book_load_uri_step): Fix this to not loop forever if you have more than one backend. svn path=/trunk/; revision=16519
Diffstat (limited to 'addressbook/backend/ebook/e-book.c')
-rw-r--r--addressbook/backend/ebook/e-book.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c
index fdc7252cfa..61930fc4d6 100644
--- a/addressbook/backend/ebook/e-book.c
+++ b/addressbook/backend/ebook/e-book.c
@@ -547,7 +547,7 @@ e_book_load_uri_step (EBook *book, EBookStatus status, EBookLoadURIData *data)
{
/* iterate to the next possible CardFactory, or fail
if it's the last one */
- book->priv->iter = book->priv->book_factories->next;
+ book->priv->iter = book->priv->iter->next;
if (book->priv->iter) {
GNOME_Evolution_Addressbook_BookFactory factory = book->priv->iter->data;
e_book_load_uri_from_factory (book, factory, data);