dovecot-2.2: lib-storage: MAX_SORT_PROGRAM_SIZE was too small

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 20 11:09:52 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/501f22bf92c3
changeset: 14934:501f22bf92c3
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Aug 15 12:37:34 2012 +0300
description:
lib-storage: MAX_SORT_PROGRAM_SIZE was too small

diffstat:

 src/lib-storage/mail-storage.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r f33e3ac28e1d -r 501f22bf92c3 src/lib-storage/mail-storage.h
--- a/src/lib-storage/mail-storage.h	Tue Aug 14 23:09:44 2012 +0300
+++ b/src/lib-storage/mail-storage.h	Wed Aug 15 12:37:34 2012 +0300
@@ -93,9 +93,6 @@
 };
 
 enum mail_sort_type {
-/* Maximum size for sort program (each one separately + END) */
-#define MAX_SORT_PROGRAM_SIZE (8 + 1)
-
 	MAIL_SORT_ARRIVAL	= 0x0001,
 	MAIL_SORT_CC		= 0x0002,
 	MAIL_SORT_DATE		= 0x0004,
@@ -107,6 +104,8 @@
 	MAIL_SORT_DISPLAYFROM	= 0x0100,
 	MAIL_SORT_DISPLAYTO	= 0x0200,
 	MAIL_SORT_POP3_ORDER	= 0x0400,
+/* Maximum size for sort program (each one separately + END) */
+#define MAX_SORT_PROGRAM_SIZE (11 + 1)
 
 	MAIL_SORT_MASK		= 0x0fff,
 	MAIL_SORT_FLAG_REVERSE	= 0x1000, /* reverse this mask type */


More information about the dovecot-cvs mailing list