Browse Source

[Minor] Oops, forgot to save in the previous commit

tags/1.6.0
Vsevolod Stakhov 7 years ago
parent
commit
07159d72fe
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/libmime/mime_expressions.c

+ 5
- 5
src/libmime/mime_expressions.c View File

@@ -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;

Loading…
Cancel
Save