[Spice-devel] [spice-server 4/4] RedChannelClient: Mark some private data as boolean

Christophe Fergeau cfergeau at redhat.com
Thu Mar 9 13:38:42 UTC 2017


---
 server/red-channel-client.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/server/red-channel-client.c b/server/red-channel-client.c
index 63877ab..47583c7 100644
--- a/server/red-channel-client.c
+++ b/server/red-channel-client.c
@@ -133,15 +133,15 @@ struct RedChannelClientPrivate
         } urgent;
     } send_data;
 
-    int during_send;
+    gboolean during_send;
     GQueue pipe;
 
     RedChannelCapabilities remote_caps;
-    int is_mini_header;
+    gboolean is_mini_header;
     gboolean destroying;
 
-    int wait_migrate_data;
-    int wait_migrate_flush_mark;
+    gboolean wait_migrate_data;
+    gboolean wait_migrate_flush_mark;
 
     RedChannelClientLatencyMonitor latency_monitor;
     RedChannelClientConnectivityMonitor connectivity_monitor;
-- 
2.9.3



More information about the Spice-devel mailing list