commit 74b817d: [Minor] Oops, fix html urls processing

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Mar 12 14:28:06 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-03-12 14:26:53 +0000
URL: https://github.com/rspamd/rspamd/commit/74b817d34fc56a02aad8fc05d3610bbde549a2e6 (HEAD -> master)

[Minor] Oops, fix html urls processing

---
 src/libserver/html.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/html.c b/src/libserver/html.c
index c84948986..71efe632a 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -3057,7 +3057,7 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool,
 						if (url != NULL) {
 
 							if (url_set != NULL) {
-								if (!rspamd_url_set_add_or_increase (url_set, url)) {
+								if (rspamd_url_set_add_or_increase (url_set, url)) {
 									rspamd_process_html_url (pool, url, url_set);
 								}
 							}


More information about the Commits mailing list