From 18a8bed20e5b4baa5a967678977710b379c6a865 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 24 Mar 2021 13:46:41 +0000 Subject: [PATCH] [Minor] Fix urls count tracking logic --- src/libserver/html.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libserver/html.c b/src/libserver/html.c index aa1cdf6cc..3d9d540f5 100644 --- a/src/libserver/html.c +++ b/src/libserver/html.c @@ -3253,6 +3253,8 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool, } else { url = maybe_existing; + /* Increase count to avoid odd checks failure */ + url->count ++; } } -- 2.39.5