[Spice-devel] [PATCH 15/24] server/red_channel: use red_channel_receive
Alon Levy
alevy at redhat.com
Wed Jan 19 10:08:01 PST 2011
---
server/red_channel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/red_channel.c b/server/red_channel.c
index 19f69b2..be44995 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -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);
--
1.7.3.4
More information about the Spice-devel
mailing list