summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-08 10:42:14 +0200
committerAlon Levy <alevy@redhat.com>2011-02-07 19:22:44 +0200
commit3476fe428d43505da828a8c6bfdd65e7f320325c (patch)
tree6e0e149c2d802acb9a37bdb1f90f66740926ca6e
parent5062433d8af45822371b6487a8d7baea23071d18 (diff)
server/red_channel: reset pipe_size on clear (from red_worker)
-rw-r--r--server/red_channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index 6165d0e6..62ae4a6a 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;
}