From: Timo Sirainen Date: Wed, 15 Aug 2012 09:37:34 +0000 (+0300) Subject: lib-storage: MAX_SORT_PROGRAM_SIZE was too small X-Git-Tag: 2.1.10~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f691748802e32634fdfca2efa2a2058a47a4264;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: MAX_SORT_PROGRAM_SIZE was too small --- diff --git a/src/lib-storage/mail-storage.h b/src/lib-storage/mail-storage.h index 098e5b0037..684e3b1325 100644 --- a/src/lib-storage/mail-storage.h +++ b/src/lib-storage/mail-storage.h @@ -93,9 +93,6 @@ enum mailbox_search_result_flags { }; 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 @@ enum mail_sort_type { 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 */