[Spice-devel] [PATCH 08/15] Change reds_mig_target_client_add() to take RedsState arg

Frediano Ziglio fziglio at redhat.com
Wed Jan 20 05:16:15 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 3e360d3..e713cf4 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -1554,7 +1554,7 @@ int reds_expects_link_id(uint32_t connection_id)
>      return 1;
>  }
>  
> -static void reds_mig_target_client_add(RedClient *client)
> +static void reds_mig_target_client_add(RedsState *reds, RedClient *client)
>  {
>      RedsMigTargetClient *mig_client;
>  
> @@ -1723,7 +1723,7 @@ static void reds_handle_main_link(RedLinkInfo *link)
>          if (spice_uuid_is_set)
>              main_channel_push_uuid(mcc, spice_uuid);
>      } else {
> -        reds_mig_target_client_add(client);
> +        reds_mig_target_client_add(reds, client);
>      }
>  
>      if (reds_stream_get_family(stream) != AF_UNIX)

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list