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

Alon Levy alevy at redhat.com
Wed Jan 19 10:08:03 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 45e4b0a..3dada93 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -598,5 +598,6 @@ void red_channel_pipe_clear(RedChannel *channel)
         ring_remove(&item->link);
         channel->release_item(channel, item, FALSE);
     }
+    channel->pipe_size = 0;
 }
 
-- 
1.7.3.4



More information about the Spice-devel mailing list