> 
> Signed-off-by: Christophe Fergeau <cferg...@redhat.com>
> ---
>  server/red-channel-client.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/server/red-channel-client.c b/server/red-channel-client.c
> index f154c5c63..d46c299c2 100644
> --- a/server/red-channel-client.c
> +++ b/server/red-channel-client.c
> @@ -1303,11 +1303,11 @@ void red_channel_client_push(RedChannelClient *rcc)
>  {
>      RedPipeItem *pipe_item;
>  
> -    if (!rcc->priv->during_send) {
> -        rcc->priv->during_send = TRUE;
> -    } else {
> +    if (rcc->priv->during_send) {
>          return;
>      }
> +
> +    rcc->priv->during_send = TRUE;
>      g_object_ref(rcc);
>      if (red_channel_client_is_blocked(rcc)) {
>          red_channel_client_send(rcc);

I must have a similar patch somewhere.

Acked

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

Reply via email to