[empathy: 12/148] Don't schedule the next read two times when we're finished reading the stream.



commit 98284c362f9bea1558a0b0c89f8f8d6a93c63074
Author: Cosimo Cecchi <cosimo cecchi collabora co uk>
Date:   Mon Feb 9 18:04:50 2009 +0100

    Don't schedule the next read two times when we're finished reading the stream.
---
 libempathy/empathy-ft-handler.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index e4bbf3d..dfaecea 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -551,7 +551,6 @@ hash_job_async_read_cb (GObject *source,
   if (bytes_read == 0)
     {
       hash_data->done_reading = TRUE;
-      schedule_hash_chunk (hash_data);
       goto out;
     }
   else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]