Ack.

On 01/13/2011 06:01 AM, Alon Levy wrote:
---
  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 b6c13d1..40f3a1f 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -172,7 +172,7 @@ static void red_peer_handle_outgoing(RedsStreamContext 
*peer, OutgoingHandler *h
              }
          } else {
              handler->pos += n;
-            if (!handler->vec_size&&  handler->pos == handler->size) { // 
finished writing data
+            if (handler->pos == handler->size) { // finished writing data
                  handler->on_msg_done(handler->opaque);
                  handler->vec = handler->vec_buf;
                  handler->pos = 0;
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to