[Spice-devel] [PATCH 15/23] server/red_channel: use red_channel_receive

Alon Levy alevy at redhat.com
Mon Feb 7 09:31:17 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 20f62ed..faec613 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.4



More information about the Spice-devel mailing list