aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-10-01 16:22:36 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-10-01 16:22:36 +0200
commit7ea99173fa56985a298b32d0c0db5195a6d27b17 (patch)
tree0cfc4d6fb43a6211422d0426ea075eb9e3c71b73
parent023e53996cdf20d7e2a314386616028d8a279408 (diff)
downloaddovecot-antispam-7ea99173fa56985a298b32d0c0db5195a6d27b17.tar.gz
dovecot-antispam-7ea99173fa56985a298b32d0c0db5195a6d27b17.tar.xz
dovecot-antispam-7ea99173fa56985a298b32d0c0db5195a6d27b17.zip
remove some #if 0'ed code
-rw-r--r--dspam-exec.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/dspam-exec.c b/dspam-exec.c
index 6034eda..65f33d0 100644
--- a/dspam-exec.c
+++ b/dspam-exec.c
@@ -188,23 +188,6 @@ int backend_handle_mail(struct mailbox_transaction_context *t,
return signature_extract(t, mail, &ast->siglist, from_spam);
}
-#if 0
-bool backend(pool_t pool, bool spam, struct strlist *sigs)
-{
- int ret;
-
- /* got all signatures now, walk them passing to dspam */
- while (sigs) {
- ret = call_dspam(pool, sigs->str, spam);
- if (ret)
- return FALSE;
- sigs = sigs->next;
- }
-
- return TRUE;
-}
-#endif
-
void backend_init(pool_t pool)
{
char *tmp;