aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-29 17:51:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-29 17:51:31 +0100
commit07159d72fe43537111cc2f030b986bb34a62a868 (patch)
treef369fa654683bd7e0f0a770d5b3ee75769d97377
parent54d25a96213d766b07355d07968cce6c2eb6b413 (diff)
downloadrspamd-07159d72fe43537111cc2f030b986bb34a62a868.tar.gz
rspamd-07159d72fe43537111cc2f030b986bb34a62a868.zip
[Minor] Oops, forgot to save in the previous commit
-rw-r--r--src/libmime/mime_expressions.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libmime/mime_expressions.c b/src/libmime/mime_expressions.c
index 139b61b07..c33d852be 100644
--- a/src/libmime/mime_expressions.c
+++ b/src/libmime/mime_expressions.c
@@ -208,26 +208,26 @@ rspamd_parse_long_option (const gchar *start, gsize len,
ret = TRUE;
a->type = RSPAMD_RE_MIMEHEADER;
}
- else if (rspamd_lc_cmp (start, "raw_header", len) ||
+ else if (TYPE_CHECK (start, "raw_header", len) ||
TYPE_CHECK (start, "header_raw", len)) {
ret = TRUE;
a->type = RSPAMD_RE_RAWHEADER;
}
- else if (rspamd_lc_cmp (start, "all_header", len) ||
+ else if (TYPE_CHECK (start, "all_header", len) ||
TYPE_CHECK (start, "header_all", len) ||
TYPE_CHECK (start, "all_headers", len)) {
ret = TRUE;
a->type = RSPAMD_RE_ALLHEADER;
}
- else if (rspamd_lc_cmp (start, "url", len)) {
+ else if (TYPE_CHECK (start, "url", len)) {
ret = TRUE;
a->type = RSPAMD_RE_URL;
}
- else if (rspamd_lc_cmp (start, "sa_body", len)) {
+ else if (TYPE_CHECK (start, "sa_body", len)) {
ret = TRUE;
a->type = RSPAMD_RE_SABODY;
}
- else if (rspamd_lc_cmp (start, "sa_raw_body", len) ||
+ else if (TYPE_CHECK (start, "sa_raw_body", len) ||
TYPE_CHECK (start, "sa_body_raw", len)) {
ret = TRUE;
a->type = RSPAMD_RE_SARAWBODY;