aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-11 14:41:13 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-11 14:41:13 +0000
commit2cb31b814247db35456322489ae3ecea7499dd8f (patch)
tree935eebfb16ff5ae9b4ccfeaee15cff20ad26d5eb /src/libserver/html.c
parentaf30ca1eb035d6824107c1f55613099c6331cbdb (diff)
downloadrspamd-2cb31b814247db35456322489ae3ecea7499dd8f.tar.gz
rspamd-2cb31b814247db35456322489ae3ecea7499dd8f.zip
[Minor] Fix bitset size
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 9b5282575..c84948986 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -2630,7 +2630,7 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool,
g_assert (pool != NULL);
rspamd_html_library_init ();
- hc->tags_seen = rspamd_mempool_alloc0 (pool, NBYTES (G_N_ELEMENTS (tag_defs)));
+ hc->tags_seen = rspamd_mempool_alloc0 (pool, NBYTES (N_TAGS));
/* Set white background color by default */
hc->bgcolor.d.comp.alpha = 0;