[dovecot-cvs] dovecot/src/imap cmd-append.c,1.80,1.81
tss-movial at dovecot.org
tss-movial at dovecot.org
Tue May 9 14:57:38 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-mail message-parser.c, 1.73,
1.74 message-parser.h, 1.32, 1.33
- Next message: [dovecot-cvs] dovecot/src/lib-storage mail-copy.c, 1.7,
1.8 mail-storage-private.h, 1.25, 1.26 mail-storage.c, 1.50,
1.51 mail-storage.h, 1.107, 1.108
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv603/imap
Modified Files:
cmd-append.c
Log Message:
Changed mailbox_save_*() API a bit: Moved the struct mail *dest_mail to
save_init() instead of being in save_finish(). This way you can request
wanted fields from the mail while it's being saved.
With maildir the message is being parsed at the same time as it's being
saved, and the results are stored into cache file.
Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- cmd-append.c 12 Apr 2006 16:04:29 -0000 1.80
+++ cmd-append.c 9 May 2006 11:57:36 -0000 1.81
@@ -273,7 +273,7 @@
ctx->msg_size);
ret = mailbox_save_init(ctx->t, flags, keywords,
internal_date, timezone_offset, NULL,
- ctx->input, FALSE, &ctx->save_ctx);
+ ctx->input, NULL, &ctx->save_ctx);
if (keywords != NULL)
mailbox_keywords_free(ctx->t, &keywords);
@@ -335,7 +335,7 @@
whole message. */
failed = TRUE;
mailbox_save_cancel(&ctx->save_ctx);
- } else if (mailbox_save_finish(&ctx->save_ctx, NULL) < 0) {
+ } else if (mailbox_save_finish(&ctx->save_ctx) < 0) {
failed = TRUE;
client_send_storage_error(cmd, ctx->storage);
} else {
- Previous message: [dovecot-cvs] dovecot/src/lib-mail message-parser.c, 1.73,
1.74 message-parser.h, 1.32, 1.33
- Next message: [dovecot-cvs] dovecot/src/lib-storage mail-copy.c, 1.7,
1.8 mail-storage-private.h, 1.25, 1.26 mail-storage.c, 1.50,
1.51 mail-storage.h, 1.107, 1.108
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list