[Spice-devel] [phodav PATCH 2/7 v3] spice-webdavd: Hide client folder when sharing disabled

Lukas Venhoda lvenhoda at redhat.com
Thu Mar 17 13:47:46 UTC 2016


After disabling sharing, remove client folder from file explorer.
Show client folder again after sharing is re-enabled.

Acked-by: Marc-André Lureau <mlureau at redhat.com>
---
Changes since v2:
 - None
Changes since v1:
 - Split patch into 2
---
 spice/spice-webdavd.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
index 68f3cf0..c8fb795 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -469,6 +469,9 @@ end:
       g_clear_error (&error);
     }

+#ifdef WITH_AVAHI
+  mdns_unregister_service ();
+#endif
   quit (-3);
 }

--
2.5.0



More information about the Spice-devel mailing list