aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_expressions.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-23 17:44:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-23 17:44:04 +0000
commit71d52e806a4780d95eb0322544330e31a7a375d9 (patch)
tree15709221c847de6b85ebbb3ad020a29441b1cbfb /src/libmime/mime_expressions.c
parent11021601e04634213a31df0c16aa4d1c064201ac (diff)
downloadrspamd-71d52e806a4780d95eb0322544330e31a7a375d9.tar.gz
rspamd-71d52e806a4780d95eb0322544330e31a7a375d9.zip
[Minor] Fix various style issues
Diffstat (limited to 'src/libmime/mime_expressions.c')
-rw-r--r--src/libmime/mime_expressions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmime/mime_expressions.c b/src/libmime/mime_expressions.c
index 71b8d4bdc..0c036a89c 100644
--- a/src/libmime/mime_expressions.c
+++ b/src/libmime/mime_expressions.c
@@ -20,7 +20,6 @@
#include "message.h"
#include "mime_expressions.h"
#include "html.h"
-#include "email_addr.h"
#include "lua/lua_common.h"
#include "utlist.h"
@@ -1172,7 +1171,7 @@ rspamd_recipients_distance (struct rspamd_task *task, GArray * args,
}
}
- if ((double)(hits * num / 2.) / (double)total >= threshold) {
+ if ((hits * num / 2.) / (double)total >= threshold) {
return TRUE;
}