diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-04-08 23:14:40 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-04-08 23:14:40 +0000 |
commit | 04a02a11419da7c9000a68f1cc0a8970eca316fa (patch) | |
tree | d3fd509b227e5baf353b1d29475692c00f1be995 /mail/dovecot2-antispam-plugin | |
parent | 5cfd69da66799733140a75eb8d11cb683d7cfe9d (diff) | |
download | ports-04a02a11419da7c9000a68f1cc0a8970eca316fa.tar.gz ports-04a02a11419da7c9000a68f1cc0a8970eca316fa.zip |
Notes
Diffstat (limited to 'mail/dovecot2-antispam-plugin')
-rw-r--r-- | mail/dovecot2-antispam-plugin/files/patch-src_mailbox.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/dovecot2-antispam-plugin/files/patch-src_mailbox.c b/mail/dovecot2-antispam-plugin/files/patch-src_mailbox.c new file mode 100644 index 000000000000..5fc765ba2201 --- /dev/null +++ b/mail/dovecot2-antispam-plugin/files/patch-src_mailbox.c @@ -0,0 +1,23 @@ +diff -r 43880985e3dd -r 5e8351bcfb29 src/mailbox.c +--- src/mailbox.c Wed Dec 22 22:34:22 2010 +0200 ++++ src/mailbox.c Sun Feb 26 21:34:05 2012 +0200 +@@ -135,7 +135,7 @@ + struct mailbox_transaction_context *t = ctx->transaction; + struct antispam_mailbox *asmb = STORAGE_CONTEXT(t->box); + +- if (ctx->copying == 0) ++ if (ctx->copying_via_save == 0) + { + struct antispam_user *asu = USER_CONTEXT(t->box->storage->user); + +@@ -171,7 +171,7 @@ + + // if we are copying then copy() code will do everything needed + int ret = asmb->module_ctx.super.save_finish(ctx); +- if (ctx->copying != 0 || ret != 0) ++ if (ctx->copying_via_save != 0 || ret != 0) + return ret; + + // since there is no source mailbox, let's assume + + |