[phodav] spice-webdavd: Hide client folder when sharing disabled



commit 6f47f1f87e0a61cfd8ad15a2598809db57289af8
Author: Lukas Venhoda <lvenhoda redhat com>
Date:   Thu Mar 17 14:47:46 2016 +0100

    spice-webdavd: Hide client folder when sharing disabled
    
    After disabling sharing, remove client folder from file explorer.
    Show client folder again after sharing is re-enabled.
    
    Acked-by: Marc-André Lureau <mlureau redhat com>
    Acked-by: Victor Toso <victortoso redhat com>

 spice/spice-webdavd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]