Re: [PATCH 14/15] Change reds_handle_main_link() to take RedsState arg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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);
>      }

Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]