Skip to content

Commit

Permalink
[Minor] Do not sort part urls, it was added by a mistake
Browse files Browse the repository at this point in the history
Discussed with: @citrin
  • Loading branch information
vstakhov committed Oct 21, 2022
1 parent 075fa9f commit 764a54d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libserver/url.c
Expand Up @@ -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
Expand Down

0 comments on commit 764a54d

Please sign in to comment.