diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-10-31 12:34:36 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-10-31 12:34:36 +0100 |
commit | c8a9a6550b84412f919b772a9cb8db1e3ef79d19 (patch) | |
tree | 270e253e13f67b366970cf2f07f5c06dd4257520 /antispam-plugin.c | |
parent | aad2cd42ee3d71920648b649e759403b0cb0e138 (diff) | |
parent | 771fe630d71993b9d270a9a6145ecaa8510c4f1c (diff) | |
download | dovecot-antispam-c8a9a6550b84412f919b772a9cb8db1e3ef79d19.tar.gz dovecot-antispam-c8a9a6550b84412f919b772a9cb8db1e3ef79d19.tar.xz dovecot-antispam-c8a9a6550b84412f919b772a9cb8db1e3ef79d19.zip |
Merge remote branch 'base/master'
Diffstat (limited to 'antispam-plugin.c')
-rw-r--r-- | antispam-plugin.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/antispam-plugin.c b/antispam-plugin.c index cf14d19..455668d 100644 --- a/antispam-plugin.c +++ b/antispam-plugin.c @@ -96,8 +96,8 @@ void lowercase_string(const char *in, char *out) } } -static bool mailbox_patternmatch(struct mailbox *box, - struct mail_storage *storage, +static bool mailbox_patternmatch(const struct mailbox *box, + const struct mail_storage *storage, const char *name, bool lowercase) { @@ -134,21 +134,21 @@ static bool mailbox_patternmatch(struct mailbox *box, return rc; } -static bool mailbox_patternmatch_case(struct mailbox *box, - struct mail_storage *storage, +static bool mailbox_patternmatch_case(const struct mailbox *box, + const struct mail_storage *storage, const char *name) { return mailbox_patternmatch(box, storage, name, FALSE); } -static bool mailbox_patternmatch_icase(struct mailbox *box, - struct mail_storage *storage, +static bool mailbox_patternmatch_icase(const struct mailbox *box, + const struct mail_storage *storage, const char *name) { return mailbox_patternmatch(box, storage, name, TRUE); } -typedef bool (*match_fn_t)(struct mailbox *, struct mail_storage *, +typedef bool (*match_fn_t)(const struct mailbox *, const struct mail_storage *, const char *); /* match information */ |