aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-24 13:46:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-24 13:46:41 +0000
commit18a8bed20e5b4baa5a967678977710b379c6a865 (patch)
tree3bbde4821b554d9c70fc2e1de4421fb78fc4745b /src/libserver/html.c
parentf66453cf8e22c97ca0504b5e0a67effb569dbb34 (diff)
downloadrspamd-18a8bed20e5b4baa5a967678977710b379c6a865.tar.gz
rspamd-18a8bed20e5b4baa5a967678977710b379c6a865.zip
[Minor] Fix urls count tracking logic
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r--src/libserver/html.c2
1 files changed, 2 insertions, 0 deletions
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 ++;
}
}