summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackenddav.c
diff options
context:
space:
mode:
authorRoss Lagerwall <rosslagerwall@gmail.com>2014-08-25 11:13:46 +0100
committerRoss Lagerwall <rosslagerwall@gmail.com>2014-08-25 11:13:46 +0100
commit7955e6333507b69a1d013c70376fb4b279df2556 (patch)
tree8491e236c5ab2500a411fceb030e1d490f618ec6 /daemon/gvfsbackenddav.c
parent367053db51e84c81c21fafd3d7476be8ff2301ce (diff)
downloadgvfs-7955e6333507b69a1d013c70376fb4b279df2556.tar.gz
dav: Add comment for bug 594507
https://bugzilla.gnome.org/show_bug.cgi?id=594507
Diffstat (limited to 'daemon/gvfsbackenddav.c')
-rw-r--r--daemon/gvfsbackenddav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c
index 8ecc3192..4dd88ff4 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -1741,6 +1741,8 @@ static void
dns_sd_resolver_changed (GVfsDnsSdResolver *resolver,
GVfsBackendDav *dav_backend)
{
+ /* If anything has changed (e.g. address, port, txt-records or is-resolved),
+ * it is safest to just unmount. */
g_vfs_backend_force_unmount (G_VFS_BACKEND (dav_backend));
}
#endif