[evolution-data-server/gnome-2-30] Bug 621842 - use 'UID FETCH' instead of 'FETCH' for scan_changes



commit 4d074239be4e8bc459574a7c7553674afb1ad491
Author: David Woodhouse <David Woodhouse intel com>
Date:   Thu Jun 17 10:35:59 2010 +0100

    Bug 621842 - use 'UID FETCH' instead of 'FETCH' for scan_changes
    
    RFC3501 requires that 'UID FETCH' for non-existent message sets should
    return an empty set of data and not complain. Unlike 'FETCH'.

 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 5e983f4..20dd258 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -3190,7 +3190,7 @@ imapx_job_scan_changes_start(CamelIMAPXServer *is, CamelIMAPXJob *job)
 	camel_operation_start (job->op, _("Scanning for changed messages in %s"), job->folder->name);
 
 	ic = camel_imapx_command_new ("FETCH", job->folder->full_name,
-				     "FETCH 1:* (UID FLAGS)");
+				     "UID FETCH 1:* (UID FLAGS)");
 	ic->job = job;
 	ic->complete = imapx_job_scan_changes_done;
 	ic->pri = job->pri;



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