aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-19 13:06:49 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-19 13:06:49 +0000
commit2287a9092a9300cc56a05a9e83771e0bf05dc064 (patch)
tree7408f8d9e2b5e9d01806e1347f1bb0f38918ab7a /src/libserver/html.c
parent970a8f6bf3b0f0b601567483c29f91af72d99008 (diff)
downloadrspamd-2287a9092a9300cc56a05a9e83771e0bf05dc064.tar.gz
rspamd-2287a9092a9300cc56a05a9e83771e0bf05dc064.zip
Use flags for urls
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r--src/libserver/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index 2d1896d84..daea7f7ff 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -859,7 +859,7 @@ rspamd_html_url_is_phished (rspamd_mempool_t *pool,
if (href_url->tldlen != text_url->tldlen || memcmp (href_url->tld,
text_url->tld, href_url->tldlen) != 0) {
- href_url->is_phished = TRUE;
+ href_url->flags |= RSPAMD_URL_FLAG_PHISHED;
href_url->phished_url = text_url;
}
}