[phodav: 3/14] spice: make quit_service volatile



commit c9e09b9f84611dc1ec097783d578faac812fd211
Author: Jakub Janků <jjanku redhat com>
Date:   Fri May 10 23:42:51 2019 +0200

    spice: make quit_service volatile
    
    Signed-off-by: Jakub Janků <jjanku redhat com>

 spice/spice-webdavd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
index 26b4ac2..023996a 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -216,7 +216,7 @@ typedef struct _Client
   OutputQueue       *queue;
 } Client;
 
-static gboolean quit_service;
+static volatile gboolean quit_service;
 static GMainLoop *loop;
 static GInputStream *mux_istream;
 static GOutputStream *mux_ostream;


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