From: Jonathon Jongsma <jjongsma@xxxxxxxxxx> --- 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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel