mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
when writing the recommended*versions lines, sort them first.
this is because weasel put his out of order and told me the code should take care of it. svn:r5016
This commit is contained in:
parent
c1a6940e73
commit
689cb28098
@ -568,6 +568,7 @@ format_versions_list(config_line_t *ln)
|
||||
smartlist_split_string(versions, ln->value, ",",
|
||||
SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);
|
||||
}
|
||||
smartlist_sort_strings(versions); /* sort them */
|
||||
result = smartlist_join_strings(versions,",",0,NULL);
|
||||
SMARTLIST_FOREACH(versions,char *,s,tor_free(s));
|
||||
smartlist_free(versions);
|
||||
|
Loading…
Reference in New Issue
Block a user