aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 46e7cfbaa..248e57bf5 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -961,7 +961,7 @@ rspamd_html_process_tag (rspamd_mempool_t *pool, struct html_content *hc,
comp->type = (comp_type); \
comp->start = NULL; \
comp->len = 0; \
- tag->params = g_list_prepend (tag->params, comp); \
+ tag->params = g_list_append (tag->params, comp); \
ret = TRUE; \
} while(0)