[Spice-devel] [PATCH spice-server] Fix minor inconsistencies with declaration and definition
Frediano Ziglio
fziglio at redhat.com
Thu Feb 16 10:08:03 UTC 2017
Declaration used gboolean while definition used int.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/agent-msg-filter.c | 2 +-
server/red-channel-client.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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;
}
--
2.9.3
More information about the Spice-devel
mailing list