aboutsummaryrefslogtreecommitdiffstats
path: root/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugin.c b/plugin.c
index fe98e85..40c8ad8 100644
--- a/plugin.c
+++ b/plugin.c
@@ -163,10 +163,8 @@ static int fetch_and_copy(struct client *client,
/* MODIFIED: pass to backend */
#ifdef BACKEND_WANTS_SIGNATURE
/* got all signatures now, pass them to backend if no errors */
- if (ret > 0) {
- if (backend(pool, src_spam, siglist))
- ret = BACKEND_FAILURE;
- }
+ if (ret > 0 && !backend(pool, src_spam, siglist))
+ ret = BACKEND_FAILURE;
#else
#error Not implemented
#endif