https://bugs.freedesktop.org/show_bug.cgi?id=89927

--- Comment #3 from Patrick Ohly <[email protected]> ---
Comment on attachment 114929
  --> https://bugs.freedesktop.org/attachment.cgi?id=114929
Patch to handle google calendar error 403.

Review of attachment 114929:
-----------------------------------------------------------------

The commit message needs a full description of the problem and an explanation
why the chosen approach is a suitable (or at least evil) solution. Also include
an analysis of the side effects, like "what happens in future syncs".

::: src/backends/webdav/WebDAVSource.cpp
@@ +2252,5 @@
>          //
>          // req.addHeader("If-Match", etag);
> +        std::set<int> expected;
> +        if (m_contextSettings->googleUpdateHack()) {
> +            expected = boost::assign::list_of(403);

This is unnecessarily complex. Just use expected.push_back(403).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution-issues

Reply via email to