commit 764a54d: [Minor] Do not sort part urls, it was added by a mistake

Vsevolod Stakhov vsevolod at rspamd.com
Fri Oct 21 23:00:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-10-21 23:58:31 +0100
URL: https://github.com/rspamd/rspamd/commit/764a54dea98636dfc725edd29a48577742d506c9 (HEAD -> master)

[Minor] Do not sort part urls, it was added by a mistake
Discussed with: @citrin

---
 src/libserver/url.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libserver/url.c b/src/libserver/url.c
index 7892149af..805e3d65d 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -3553,7 +3553,6 @@ rspamd_url_text_extract (rspamd_mempool_t *pool,
 	rspamd_url_find_multiple (task->task_pool, part->utf_stripped_content->data,
 			part->utf_stripped_content->len, how, part->newlines,
 			rspamd_url_text_part_callback, &mcbd);
-	g_ptr_array_sort (part->mime_part->urls, rspamd_url_cmp_qsort);
 }
 
 void


More information about the Commits mailing list