[evolution-data-server] Bug 778768 - Fails to modify contact with Yandex CardDAV server



commit b02d926f7a9959fc0a533d42d506a4c4ed83b9be
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/src/addressbook/backends/webdav/e-book-backend-webdav.c 
b/src/addressbook/backends/webdav/e-book-backend-webdav.c
index ac0a307..7deda66 100644
--- a/src/addressbook/backends/webdav/e-book-backend-webdav.c
+++ b/src/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]