dovecot-2.1: mail-log: Removed broken "are we saving?" check fro...
dovecot at dovecot.org
dovecot at dovecot.org
Fri May 4 19:01:57 EEST 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/b89b98ebe52b
changeset: 14499:b89b98ebe52b
user: Timo Sirainen <tss at iki.fi>
date: Fri May 04 19:01:46 2012 +0300
description:
mail-log: Removed broken "are we saving?" check from copy event handling.
diffstat:
src/plugins/mail-log/mail-log-plugin.c | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diffs (26 lines):
diff -r 8a4d314ef7d0 -r b89b98ebe52b src/plugins/mail-log/mail-log-plugin.c
--- a/src/plugins/mail-log/mail-log-plugin.c Fri May 04 19:01:19 2012 +0300
+++ b/src/plugins/mail-log/mail-log-plugin.c Fri May 04 19:01:46 2012 +0300
@@ -360,17 +360,11 @@
(struct mail_log_mail_txn_context *)txn;
const char *desc;
- if (dst->saving) {
- /* we came from mailbox_save_using_mail() */
- mail_log_append_mail_message(ctx, dst,
- MAIL_LOG_EVENT_SAVE, "save");
- } else {
- desc = t_strdup_printf("copy from %s",
- str_sanitize(mailbox_get_name(src->box),
- MAILBOX_NAME_LOG_LEN));
- mail_log_append_mail_message(ctx, dst,
- MAIL_LOG_EVENT_COPY, desc);
- }
+ desc = t_strdup_printf("copy from %s",
+ str_sanitize(mailbox_get_name(src->box),
+ MAILBOX_NAME_LOG_LEN));
+ mail_log_append_mail_message(ctx, dst,
+ MAIL_LOG_EVENT_COPY, desc);
}
static void mail_log_mail_expunge(void *txn, struct mail *mail)
More information about the dovecot-cvs
mailing list