aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/pas-backend-ldap.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-11-10 08:58:57 +0800
committerChris Toshok <toshok@src.gnome.org>2001-11-10 08:58:57 +0800
commit6f6fe0e2eb8d6daa5312717759beb8e128f4e567 (patch)
tree61df6dbfcda9b15407413263ee5201f2b9e96ee5 /addressbook/backend/pas/pas-backend-ldap.c
parent845369568d2f9af34a1a6e7e4ba08b0f0cd6964d (diff)
downloadgsoc2013-evolution-6f6fe0e2eb8d6daa5312717759beb8e128f4e567.tar
gsoc2013-evolution-6f6fe0e2eb8d6daa5312717759beb8e128f4e567.tar.gz
gsoc2013-evolution-6f6fe0e2eb8d6daa5312717759beb8e128f4e567.tar.bz2
gsoc2013-evolution-6f6fe0e2eb8d6daa5312717759beb8e128f4e567.tar.lz
gsoc2013-evolution-6f6fe0e2eb8d6daa5312717759beb8e128f4e567.tar.xz
gsoc2013-evolution-6f6fe0e2eb8d6daa5312717759beb8e128f4e567.tar.zst
gsoc2013-evolution-6f6fe0e2eb8d6daa5312717759beb8e128f4e567.zip
[ Fixes Ximian bug #14687 ] backend/pas/pas-backend-file.c
2001-11-09 Chris Toshok <toshok@ximian.com> [ Fixes Ximian bug #14687 ] * backend/pas/pas-backend-file.c * backend/pas/pas-book-factory.c (pas_book_factory_process_request): do load_uri before add_client, so we know if the load actually worked (add_client uses this information to respond to the new client.) before this change, the client would still think the book was in a useful state even if the load_uri failed. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client): if the we're not connected, say so. * backend/pas/pas-backend-file.c (pas_backend_file_add_client): same. (pas_backend_file_load_uri): don't report_writable here, add_client does it. was only needed before because of the improper ordering in pas-book-factory.c above. svn path=/trunk/; revision=14655
Diffstat (limited to 'addressbook/backend/pas/pas-backend-ldap.c')
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index 83e2b85971..3b0cb673af 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -2549,9 +2549,8 @@ pas_backend_ldap_add_client (PASBackend *backend,
pas_book_respond_open (
book, GNOME_Evolution_Addressbook_BookListener_Success);
} else {
- /* Open the book. */
pas_book_respond_open (
- book, GNOME_Evolution_Addressbook_BookListener_Success);
+ book, GNOME_Evolution_Addressbook_BookListener_OtherError);
}
pas_book_report_writable (book, bl->priv->writable);