[Spice-commits] server/agent-msg-filter.c server/red-channel-client.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Thu Feb 16 10:30:11 UTC 2017


 server/agent-msg-filter.c   |    2 +-
 server/red-channel-client.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 73e6d88b209a88ff0bbe9fcd4e92cf4f62a0a20f
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Feb 16 10:07:41 2017 +0000

    Fix minor inconsistencies with declaration and definition
    
    Declaration used gboolean while definition used int.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Uri Lublin <uril at redhat.com>

diff --git a/server/agent-msg-filter.c b/server/agent-msg-filter.c
index 17f8e88..da6640c 100644
--- a/server/agent-msg-filter.c
+++ b/server/agent-msg-filter.c
@@ -38,7 +38,7 @@ void agent_msg_filter_config(AgentMsgFilter *filter,
 void agent_msg_filter_init(AgentMsgFilter *filter,
                            gboolean copy_paste, gboolean file_xfer,
                            gboolean use_client_monitors_config,
-                           int discard_all)
+                           gboolean discard_all)
 {
     memset(filter, 0, sizeof(*filter));
     agent_msg_filter_config(filter, copy_paste, file_xfer,
diff --git a/server/red-channel-client.c b/server/red-channel-client.c
index a0e213f..b583da2 100644
--- a/server/red-channel-client.c
+++ b/server/red-channel-client.c
@@ -1789,7 +1789,7 @@ void red_channel_client_disconnect(RedChannelClient *rcc)
     red_channel_on_disconnect(channel, rcc);
 }
 
-int red_channel_client_is_blocked(RedChannelClient *rcc)
+gboolean red_channel_client_is_blocked(RedChannelClient *rcc)
 {
     return rcc && rcc->priv->send_data.blocked;
 }


More information about the Spice-commits mailing list