[evolution-data-server] Fix the progress for get_message - imapx



commit a8a5e16ab79e1d8cb53c273ae84a78b84932d856
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Sat Feb 27 03:12:10 2010 +0530

    Fix the progress for get_message - imapx

 camel/providers/imapx/camel-imapx-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index fd37a62..19a571a 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -2251,7 +2251,7 @@ imapx_command_fetch_message_done(CamelIMAPXServer *is, CamelIMAPXCommand *ic)
 
 	if (job->u.get_message.use_multi_fetch) {
 
-		if (!failed && job->u.get_message.body_len == MULTI_SIZE) {
+		if (!failed && job->u.get_message.fetch_offset <= job->u.get_message.size) {
 			camel_imapx_command_free (ic);
 			camel_operation_progress (job->op, (job->u.get_message.fetch_offset *100)/job->u.get_message.size);
 



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