aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2011-03-08 15:58:10 +0100
committerJohannes Berg <johannes@sipsolutions.net>2011-03-08 15:58:10 +0100
commit056f20bb29213d7ec32376124f5598f3d4e8b85e (patch)
treefab4b3681f2335c0221a9b59f4b4795ef1421017
parent9ad6e48571bc99f5b629cdd2ecbf29ffe335ca7b (diff)
downloaddovecot-antispam-056f20bb29213d7ec32376124f5598f3d4e8b85e.tar.gz
dovecot-antispam-056f20bb29213d7ec32376124f5598f3d4e8b85e.tar.xz
dovecot-antispam-056f20bb29213d7ec32376124f5598f3d4e8b85e.zip
spool2dir: fix some codestyle issues
-rw-r--r--spool2dir.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/spool2dir.c b/spool2dir.c
index da17c5b..edd5bd3 100644
--- a/spool2dir.c
+++ b/spool2dir.c
@@ -233,15 +233,17 @@ static int backend_handle_mail(struct mailbox_transaction_context *t,
static void backend_init(pool_t pool __attr_unused__)
{
- if((spamspool = get_setting("SPOOL2DIR_SPAM")))
+ spamspool = get_setting("SPOOL2DIR_SPAM");
+ if (spamspool)
debug("spool2dir spamspool %s\n", spamspool);
- if((hamspool = get_setting("SPOOL2DIR_NOTSPAM")))
+ hamspool = get_setting("SPOOL2DIR_NOTSPAM");
+ if (hamspool)
debug("spool2dir hamspool %s\n", hamspool);
}
static struct antispam_transaction_context *
- backend_start(struct mailbox *box __attr_unused__)
+backend_start(struct mailbox *box __attr_unused__)
{
struct antispam_transaction_context *ast;