dovecot: Code cleanup
dovecot at dovecot.org
dovecot at dovecot.org
Sat Dec 1 11:03:06 EET 2007
details: http://hg.dovecot.org/dovecot/rev/19a6aeeb8f4f
changeset: 6887:19a6aeeb8f4f
user: Timo Sirainen <tss at iki.fi>
date: Sat Dec 01 11:03:02 2007 +0200
description:
Code cleanup
diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
src/imap/imap-fetch.c | 5 +++--
diffs (22 lines):
diff -r 82420ed23379 -r 19a6aeeb8f4f src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c Sat Dec 01 10:39:12 2007 +0200
+++ b/src/imap/imap-fetch.c Sat Dec 01 11:03:02 2007 +0200
@@ -17,6 +17,8 @@
#define BODY_NIL_REPLY \
"\"text\" \"plain\" NIL NIL NIL \"7bit\" 0 0 NIL NIL NIL"
+#define ENVELOPE_NIL_REPLY \
+ "(NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL)"
const struct imap_fetch_handler default_handlers[7];
static buffer_t *fetch_handlers = NULL;
@@ -496,8 +498,7 @@ fetch_envelope_init(struct imap_fetch_co
const struct imap_arg **args ATTR_UNUSED)
{
ctx->fetch_data |= MAIL_FETCH_IMAP_ENVELOPE;
- imap_fetch_add_handler(ctx, FALSE, FALSE, name,
- "(NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL)",
+ imap_fetch_add_handler(ctx, FALSE, FALSE, name, ENVELOPE_NIL_REPLY,
fetch_envelope, NULL);
return TRUE;
}
More information about the dovecot-cvs
mailing list