From 764a54dea98636dfc725edd29a48577742d506c9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 21 Oct 2022 23:58:31 +0100 Subject: [PATCH] [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 -- 2.39.5