diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-02-18 22:07:13 +0100 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-02-18 22:07:13 +0100 |
commit | 7b5d8429116de5c1c20141190fb0a32ee0833d36 (patch) | |
tree | 6d0e20410c264dbcb7a39a3df165247173af69cd | |
parent | 46b16d29ce23e24157ae7174ff4a1d087c6ae3da (diff) | |
download | dovecot-antispam-7b5d8429116de5c1c20141190fb0a32ee0833d36.tar.gz dovecot-antispam-7b5d8429116de5c1c20141190fb0a32ee0833d36.tar.xz dovecot-antispam-7b5d8429116de5c1c20141190fb0a32ee0833d36.zip |
use want_mail variable
Diffstat (limited to '')
-rw-r--r-- | antispam-storage-1.0.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/antispam-storage-1.0.c b/antispam-storage-1.0.c index 6f3bef0..dcb64fd 100644 --- a/antispam-storage-1.0.c +++ b/antispam-storage-1.0.c @@ -115,15 +115,14 @@ static int antispam_save_init(struct mailbox_transaction_context *t, struct mail_keywords *keywords, time_t received_date, int timezone_offset, const char *from_envelope, struct istream *input, - bool want_mail __attr_unused__, - struct mail_save_context **ctx_r) + bool want_mail, struct mail_save_context **ctx_r) { struct antispam_mailbox *asbox = ANTISPAM_CONTEXT(t->box); - /* note that we set want_mail = TRUE in here. */ + want_mail = TRUE; return asbox->super.save_init(t, flags, keywords, received_date, timezone_offset, from_envelope, - input, TRUE, ctx_r); + input, want_mail, ctx_r); } static int antispam_save_finish(struct mail_save_context *ctx, |