[Spice-devel] [PATCH 12/15] Change reds_find_client() to take RedsState arg

Frediano Ziglio fziglio at redhat.com
Wed Jan 20 05:17:05 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 a277df9..6d34554 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -1623,7 +1623,7 @@ static void
> reds_mig_target_client_disconnect_all(RedsState *reds)
>      }
>  }
>  
> -static int reds_find_client(RedClient *client)
> +static int reds_find_client(RedsState *reds, RedClient *client)
>  {
>      RingItem *item;
>  
> @@ -1845,7 +1845,7 @@ int reds_on_migrate_dst_set_seamless(MainChannelClient
> *mcc, uint32_t src_versio
>  void reds_on_client_seamless_migrate_complete(RedClient *client)
>  {
>      spice_debug(NULL);
> -    if (!reds_find_client(client)) {
> +    if (!reds_find_client(reds, client)) {
>          spice_info("client no longer exists");
>          return;
>      }

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

Frediano


More information about the Spice-devel mailing list