[Spice-devel] [PATCH 14/15] Change reds_handle_main_link() to take RedsState arg
Frediano Ziglio
fziglio at redhat.com
Tue Jan 19 06:29:47 PST 2016
From: Jonathon Jongsma <jjongsma at redhat.com>
---
server/reds.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/reds.c b/server/reds.c
index fdf2be8..ad59cfc 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1652,7 +1652,7 @@ static RedClient *reds_get_client(RedsState *reds)
// TODO: now that main is a separate channel this should
// actually be joined with reds_handle_other_links, become reds_handle_link
-static void reds_handle_main_link(RedLinkInfo *link)
+static void reds_handle_main_link(RedsState *reds, RedLinkInfo *link)
{
RedClient *client;
RedsStream *stream;
@@ -1929,7 +1929,7 @@ static void reds_handle_other_links(RedLinkInfo *link)
static void reds_handle_link(RedLinkInfo *link)
{
if (link->link_mess->channel_type == SPICE_CHANNEL_MAIN) {
- reds_handle_main_link(link);
+ reds_handle_main_link(reds, link);
} else {
reds_handle_other_links(link);
}
--
2.4.3
More information about the Spice-devel
mailing list