aboutsummaryrefslogtreecommitdiffstats
path: root/antispam-storage-1.1.c
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-06-04 03:22:53 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2009-06-04 03:22:53 +0200
commit26730e6192cd6fa218a4a900612d6eb8236ebeff (patch)
treedd5e4ef5b911e283bec203c905090bb9eefac95e /antispam-storage-1.1.c
parentdb3c7e32a49b5fe6ddba18eab16e9258c26bfcf1 (diff)
parent07ed21cfec312813f3dca9ccd30e40431909a091 (diff)
downloaddovecot-antispam-26730e6192cd6fa218a4a900612d6eb8236ebeff.tar.gz
dovecot-antispam-26730e6192cd6fa218a4a900612d6eb8236ebeff.tar.xz
dovecot-antispam-26730e6192cd6fa218a4a900612d6eb8236ebeff.zip
Merge branch 'master' of http://git.sipsolutions.net/dovecot-antispam
Diffstat (limited to 'antispam-storage-1.1.c')
-rw-r--r--antispam-storage-1.1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/antispam-storage-1.1.c b/antispam-storage-1.1.c
index 348ae9d..80c80e3 100644
--- a/antispam-storage-1.1.c
+++ b/antispam-storage-1.1.c
@@ -167,7 +167,8 @@ static int antispam_save_init(struct mailbox_transaction_context *t,
timezone_offset, from_envelope,
input, dest_mail, ctx_r);
- (*ctx_r)->dest_mail = dest_mail;
+ if (ret >= 0)
+ (*ctx_r)->dest_mail = dest_mail;
return ret;
}