From be1191f1b2f3972441b2e8947d9a2ac71160a375 Mon Sep 17 00:00:00 2001 From: Ross Lagerwall Date: Thu, 22 Jan 2015 23:07:43 +0000 Subject: dav: Trim some duplicated text https://bugzilla.gnome.org/show_bug.cgi?id=743379 --- daemon/gvfsbackenddav.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'daemon') 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)) { -- cgit v1.2.1