[Spice-devel] [PATCH spice-server 02/22] reds: use bool for RedsState::allow_multiple_clients

Frediano Ziglio fziglio at redhat.com
Fri Jun 16 09:13:14 UTC 2017


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/reds-private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/reds-private.h b/server/reds-private.h
index b289267..0b5a1b4 100644
--- a/server/reds-private.h
+++ b/server/reds-private.h
@@ -116,7 +116,7 @@ struct RedsState {
 #ifdef RED_STATISTICS
     RedStatFile *stat_file;
 #endif
-    int allow_multiple_clients;
+    bool allow_multiple_clients;
 
     /* Intermediate state for on going monitors config message from a single
      * client, being passed to the guest */
-- 
2.9.4



More information about the Spice-devel mailing list