mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-07 11:55:10 +00:00
server/red_channel: use red_channel_receive
This commit is contained in:
parent
a5afee2842
commit
23f13aa983
@ -422,7 +422,7 @@ static void red_channel_event(int fd, int event, void *data)
|
||||
RedChannel *channel = (RedChannel *)data;
|
||||
|
||||
if (event & SPICE_WATCH_EVENT_READ) {
|
||||
red_peer_handle_incoming(channel->peer, &channel->incoming);
|
||||
red_channel_receive(channel);
|
||||
}
|
||||
if (event & SPICE_WATCH_EVENT_WRITE) {
|
||||
red_channel_push(channel);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user