mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-08 21:14:11 +00:00
Use red_channel_client_set_blocked() helper
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@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
2eb491cb6b
commit
2a3b6c2c00
@ -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");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user