[dovecot-cvs] dovecot/src/imap cmd-fetch.c,1.13,1.14 main.c,1.24,1.25

cras at procontrol.fi cras at procontrol.fi
Tue Feb 11 12:30:31 EET 2003


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv5818/src/imap

Modified Files:
	cmd-fetch.c main.c 
Log Message:
Added client_workarounds setting, with currently one workaround for OE6.



Index: cmd-fetch.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-fetch.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- cmd-fetch.c	21 Jan 2003 18:50:40 -0000	1.13
+++ cmd-fetch.c	11 Feb 2003 10:30:29 -0000	1.14
@@ -351,8 +351,9 @@
 	ret = imap_fetch(client, fetch_data, imap_data,
 			 bodies, messageset, client->cmd_uid);
 	if (ret >= 0) {
-		/* NOTE: syncing isn't allowed here */
-                client_sync_without_expunges(client);
+		if ((client_workarounds & WORKAROUND_OE6_FETCH_NO_NEWMAIL) == 0)
+			client_sync_without_expunges(client);
+
 		client_send_tagline(client, ret > 0 ? "OK Fetch completed." :
 			"NO Some of the requested messages no longer exist.");
 	} else {

Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- main.c	3 Feb 2003 05:01:06 -0000	1.24
+++ main.c	11 Feb 2003 10:30:29 -0000	1.25
@@ -72,6 +72,7 @@
 	hin = 0; hout = 1;
 	rawlog_open(&hin, &hout);
 
+        mail_storage_init();
 	mail_storage_register_all();
 	clients_init();
 




More information about the dovecot-cvs mailing list