[dovecot-cvs] dovecot/src/imap common.h,1.16,1.17 main.c,1.56,1.57

cras at dovecot.org cras at dovecot.org
Sat Sep 11 15:21:47 EEST 2004


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv9497/src/imap

Modified Files:
	common.h main.c 
Log Message:
Removed mailbox_check_interval completely. It wasn't currently implemented,
and most (all?) clients which would benefit from it support IDLE anyway.



Index: common.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/common.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- common.h	22 Aug 2004 09:52:11 -0000	1.16
+++ common.h	11 Sep 2004 12:21:44 -0000	1.17
@@ -30,7 +30,7 @@
 };
 
 extern struct ioloop *ioloop;
-extern unsigned int max_keyword_length, mailbox_check_interval;
+extern unsigned int max_keyword_length;
 extern unsigned int imap_max_line_length;
 extern enum client_workarounds client_workarounds;
 

Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- main.c	23 Aug 2004 03:58:41 -0000	1.56
+++ main.c	11 Sep 2004 12:21:44 -0000	1.57
@@ -34,7 +34,7 @@
 };
 
 struct ioloop *ioloop;
-unsigned int max_keyword_length, mailbox_check_interval;
+unsigned int max_keyword_length;
 unsigned int imap_max_line_length;
 enum client_workarounds client_workarounds = 0;
 
@@ -158,10 +158,6 @@
 		(unsigned int)strtoul(str, NULL, 10) :
 		DEFAULT_MAX_KEYWORD_LENGTH;
 
-	str = getenv("MAILBOX_CHECK_INTERVAL");
-	mailbox_check_interval = str == NULL ? 0 :
-		(unsigned int)strtoul(str, NULL, 10);
-
         parse_workarounds();
 
 	namespace_pool = pool_alloconly_create("namespaces", 1024);



More information about the dovecot-cvs mailing list