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



commit fcbb042152888a5ac8904bdf6c37a05e58ef306a
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 9d85fed..5550baf 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -3234,7 +3234,7 @@ imapx_job_scan_changes_start(CamelIMAPXServer *is, CamelIMAPXJob *job)
 		camel_folder_get_name (job->folder));
 
 	ic = camel_imapx_command_new ("FETCH", 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]