summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorRoss Lagerwall <rosslagerwall@gmail.com>2015-01-22 23:07:43 +0000
committerRoss Lagerwall <rosslagerwall@gmail.com>2015-01-25 20:14:18 +0000
commitbe1191f1b2f3972441b2e8947d9a2ac71160a375 (patch)
treea80001f2eaa90dfc89e3778a613de744630085a8 /daemon
parent74a223930ee027babc6f6573dc4f49436bcb7c90 (diff)
downloadgvfs-be1191f1b2f3972441b2e8947d9a2ac71160a375.tar.gz
dav: Trim some duplicated text
https://bugzilla.gnome.org/show_bug.cgi?id=743379
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gvfsbackenddav.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c
index e6c520ee..1cde3b2e 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -2817,21 +2817,8 @@ do_move (GVfsBackend *backend,
status = g_vfs_backend_dav_send_message (backend, msg);
- /*
- * The precondition of SOUP_STATUS_PRECONDITION_FAILED (412) in
- * this case was triggered by the "Overwrite: F" header which
- * means that the target already exists.
- * Also if we get a REDIRECTION it means that there was no
- * "Location" header, since otherwise that would have triggered
- * our redirection handler. This probably means we are dealing
- * with an web dav implementation (like mod_dav) that also sends
- * redirects for the destionaion (i.e. "Destination: /foo" header)
- * which very likely means that the target also exists (and is a
- * directory). That or the webdav server is broken.
- * We could find out by doing another stat and but I think this is
- * such a corner case that we are totally fine with returning
- * G_IO_ERROR_EXISTS.
- * */
+ /* See do_set_display_name () for the explanation of the PRECONDITION_FAILED
+ * and IS_REDIRECTION handling below. */
if (SOUP_STATUS_IS_SUCCESSFUL (status))
{