mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Ooh, that could have been bad. Sort digests as digests, not strings.
svn:r6679
This commit is contained in:
@@ -472,7 +472,7 @@ _compare_digests(const void **_a, const void **_b)
|
||||
void
|
||||
smartlist_sort_digests(smartlist_t *sl)
|
||||
{
|
||||
smartlist_sort(sl, _compare_string_ptrs);
|
||||
smartlist_sort(sl, _compare_digests);
|
||||
}
|
||||
|
||||
#define DEFINE_MAP_STRUCTS(maptype, keydecl, prefix) \
|
||||
|
||||
Reference in New Issue
Block a user