aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-28 09:40:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-28 09:40:04 +0100
commit00135c8f9a8dda4fe3ccdfe8a05bea691e73930a (patch)
treeb611245d14425eb04a66afd5f503542dd62da164 /src/libserver/html.c
parent7fc1dd5af0baa24d94acc28bda4ef37528ba7414 (diff)
downloadrspamd-00135c8f9a8dda4fe3ccdfe8a05bea691e73930a.tar.gz
rspamd-00135c8f9a8dda4fe3ccdfe8a05bea691e73930a.zip
[Minor] Slight types improvement
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r--src/libserver/html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index ca4ad5d38..8f6b3d291 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -2337,8 +2337,8 @@ rspamd_html_process_block_tag (rspamd_mempool_t *pool, struct html_tag *tag,
case RSPAMD_HTML_COMPONENT_CLASS:
fstr.begin = (gchar *) comp->start;
fstr.len = comp->len;
- bl->class = rspamd_mempool_ftokdup (pool, &fstr);
- msg_debug_html ("got class: %s", bl->class);
+ bl->html_class = rspamd_mempool_ftokdup (pool, &fstr);
+ msg_debug_html ("got class: %s", bl->html_class);
break;
case RSPAMD_HTML_COMPONENT_SIZE:
/* Not supported by html5 */