Re: [spice-server v2 4/5] Use red_channel_client_set_blocked() helper

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

 



> 
> Now that red_channel_client_set_blocked() is no longer changing the
> events we are watching for, we can call it from
> red_channel_client_push().
> 
> Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>
> ---
>  server/red-channel-client.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/red-channel-client.c b/server/red-channel-client.c
> index 0d6077a5b..6f1098279 100644
> --- a/server/red-channel-client.c
> +++ b/server/red-channel-client.c
> @@ -1289,7 +1289,7 @@ void red_channel_client_push(RedChannelClient *rcc)
>      }
>  
>      if (!red_channel_client_no_item_being_sent(rcc) &&
>      !red_channel_client_is_blocked(rcc)) {
> -        rcc->priv->send_data.blocked = TRUE;
> +        red_channel_client_set_blocked(rcc);
>          spice_printerr("ERROR: an item waiting to be sent and not blocked");
>      }
>  

Acked

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://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]