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

Submitted by Frediano Ziglio on June 16, 2017, 9:13 a.m.

Details

Message ID 20170616091334.31475-3-fziglio@redhat.com
State New
Headers show
Series "reds: Use bool for boolean types" ( rev: 6 5 4 3 2 1 ) in Spice

Not browsing as part of any series.

Commit Message

Frediano Ziglio June 16, 2017, 9:13 a.m.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
---
 server/reds-private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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 */