diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-19 13:06:49 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-19 13:06:49 +0000 |
commit | 2287a9092a9300cc56a05a9e83771e0bf05dc064 (patch) | |
tree | 7408f8d9e2b5e9d01806e1347f1bb0f38918ab7a /src/libserver/html.c | |
parent | 970a8f6bf3b0f0b601567483c29f91af72d99008 (diff) | |
download | rspamd-2287a9092a9300cc56a05a9e83771e0bf05dc064.tar.gz rspamd-2287a9092a9300cc56a05a9e83771e0bf05dc064.zip |
Use flags for urls
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r-- | src/libserver/html.c | 2 |
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; } } |