[evolution-data-server/gnome-3-22] Bug 778768 - Fails to modify contact with Yandex CardDAV server
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-22] Bug 778768 - Fails to modify contact with Yandex CardDAV server
- Date: Mon, 20 Feb 2017 14:24:02 +0000 (UTC)
commit d326cff48357a3fbd05d11e08fb9398e963f4b39
Author: Milan Crha <mcrha redhat com>
Date: Fri Feb 17 10:28:24 2017 +0100
Bug 778768 - Fails to modify contact with Yandex CardDAV server
.../backends/webdav/e-book-backend-webdav.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/backends/webdav/e-book-backend-webdav.c
b/addressbook/backends/webdav/e-book-backend-webdav.c
index 70138a0..fcce609 100644
--- a/addressbook/backends/webdav/e-book-backend-webdav.c
+++ b/addressbook/backends/webdav/e-book-backend-webdav.c
@@ -1641,7 +1641,7 @@ book_backend_webdav_modify_contacts_sync (EBookBackend *backend,
href = webdav_contact_get_href (contact);
status = upload_contact (webdav, href, contact, &status_reason, cancellable);
g_free (href);
- if (status != 201 && status != 204) {
+ if (status != 200 && status != 201 && status != 204) {
g_object_unref (contact);
if (status == 401 || status == 407) {
webdav_handle_auth_request (webdav, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]