diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-22 16:09:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-22 16:09:51 +0000 |
commit | e170d0f7d9037b58b8e1c47bd37ccffbc7587044 (patch) | |
tree | 1d428722dd75729d1d8a01e8d9f828894ecaa6fe | |
parent | 60173e2236cdd2f9c9ee6a8c777cd29e6b1639f5 (diff) | |
download | rspamd-e170d0f7d9037b58b8e1c47bd37ccffbc7587044.tar.gz rspamd-e170d0f7d9037b58b8e1c47bd37ccffbc7587044.zip |
[Minor] Avoid extra sort
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index a4b357015..99b84e385 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -771,8 +771,6 @@ rspamd_message_process_html_text_part (struct rspamd_task *task, MESSAGE_FIELD (task, urls), text_part->mime_part->urls); - g_ptr_array_sort (text_part->mime_part->urls, rspamd_url_cmp_qsort); - if (text_part->utf_content->len == 0) { text_part->flags |= RSPAMD_MIME_TEXT_PART_FLAG_EMPTY; } |