Re: [PATCH 06/15] Change reds_handle_link() to take RedsState arg

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

 



On Wed, 2016-01-20 at 13:25 +0000, Frediano Ziglio wrote:
> From: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
> 
Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx>
> ---
>  server/reds.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/server/reds.c b/server/reds.c
> index 1923bf5..d8ee53d 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -1926,7 +1926,7 @@ static void reds_handle_other_links(RedsState
> *reds, RedLinkInfo *link)
>      reds_link_free(link);
>  }
>  
> -static void reds_handle_link(RedLinkInfo *link)
> +static void reds_handle_link(RedsState *reds, RedLinkInfo *link)
>  {
>      if (link->link_mess->channel_type == SPICE_CHANNEL_MAIN) {
>          reds_handle_main_link(reds, link);
> @@ -1982,7 +1982,7 @@ static void reds_handle_ticket(void *opaque)
>          }
>      }
>  
> -    reds_handle_link(link);
> +    reds_handle_link(reds, link);
>      goto end;
>  
>  error:
> @@ -2026,7 +2026,7 @@ static void reds_handle_auth_sasl_step(void
> *opaque)
>  
>      status = reds_sasl_handle_auth_step(link->stream,
> reds_handle_auth_sasl_steplen, link);
>      if (status == REDS_SASL_ERROR_OK) {
> -        reds_handle_link(link);
> +        reds_handle_link(reds, link);
>      } else if (status != REDS_SASL_ERROR_CONTINUE) {
>          reds_link_free(link);
>      }
> @@ -2066,7 +2066,7 @@ static void reds_handle_auth_sasl_start(void
> *opaque)
>  
>      status = reds_sasl_handle_auth_start(link->stream,
> reds_handle_auth_sasl_steplen, link);
>      if (status == REDS_SASL_ERROR_OK) {
> -        reds_handle_link(link);
> +        reds_handle_link(reds, link);
>      } else if (status != REDS_SASL_ERROR_CONTINUE) {
>          reds_link_free(link);
>      }
_______________________________________________
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]