]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix urls count tracking logic
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 24 Mar 2021 13:46:41 +0000 (13:46 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 24 Mar 2021 13:46:41 +0000 (13:46 +0000)
src/libserver/html.c

index aa1cdf6cc335dafca82fd25abd9bbc4ffaf5779a..3d9d540f513acba4b706d507bf6b416f50956fc7 100644 (file)
@@ -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 ++;
                                                                }
                                                        }