[dovecot-cvs] dovecot/src/lib-storage/index index-fetch.c,1.40,1.41

cras at procontrol.fi cras at procontrol.fi
Tue Jan 21 23:02:32 EET 2003


Update of /home/cvs/dovecot/src/lib-storage/index
In directory danu:/tmp/cvs-serv3500/lib-storage/index

Modified Files:
	index-fetch.c 
Log Message:
WORKAROUND: Outlook (Express 6) fails with to read FETCH BODY[] if we send
EXISTS/RECENT before it



Index: index-fetch.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-fetch.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- index-fetch.c	20 Jan 2003 14:52:51 -0000	1.40
+++ index-fetch.c	21 Jan 2003 21:02:30 -0000	1.41
@@ -39,7 +39,9 @@
 			return NULL;
 	}
 
-	if (!index_storage_sync_and_lock(ibox, TRUE, MAIL_LOCK_SHARED))
+	/* WORKAROUND: Outlook (Express 6) fails with to read FETCH BODY[]
+	   if we send EXISTS/RECENT before it */
+	if (!index_storage_sync_and_lock(ibox, FALSE, MAIL_LOCK_SHARED))
 		return NULL;
 
 	if (*update_seen &&




More information about the dovecot-cvs mailing list