[Spice-devel] [PATCH 17/23] server/red_channel: reset pipe_size on clear (from red_worker)

Alon Levy alevy at redhat.com
Mon Feb 7 09:31:19 PST 2011


---
 server/red_channel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/red_channel.c b/server/red_channel.c
index 6165d0e..62ae4a6 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -600,5 +600,6 @@ void red_channel_pipe_clear(RedChannel *channel)
         ring_remove(&item->link);
         channel->release_item(channel, item, FALSE);
     }
+    channel->pipe_size = 0;
 }
 
-- 
1.7.4



More information about the Spice-devel mailing list