dovecot-2.1: imap: When fetching X-GUID, set MAIL_FETCH_GUID als...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Dec 12 08:44:15 EET 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/8dc4ffcc3b83
changeset: 13852:8dc4ffcc3b83
user: Timo Sirainen <tss at iki.fi>
date: Mon Dec 12 08:29:50 2011 +0200
description:
imap: When fetching X-GUID, set MAIL_FETCH_GUID also as "wanted fields" for optimization.
diffstat:
src/imap/imap-fetch.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 6fb8b5bd2541 -r 8dc4ffcc3b83 src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c Mon Dec 12 08:43:04 2011 +0200
+++ b/src/imap/imap-fetch.c Mon Dec 12 08:29:50 2011 +0200
@@ -774,6 +774,7 @@
fetch_guid_init(struct imap_fetch_context *ctx ATTR_UNUSED, const char *name,
const struct imap_arg **args ATTR_UNUSED)
{
+ ctx->fetch_data |= MAIL_FETCH_GUID;
imap_fetch_add_handler(ctx, TRUE, FALSE, name, "", fetch_guid, NULL);
return TRUE;
}
More information about the dovecot-cvs
mailing list