From 06ffee3b67ff629d9580c0143f0c7b3c13be8d9e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 22 Jun 2006 07:29:14 +0000 Subject: Ooh, that could have been bad. Sort digests as digests, not strings. svn:r6679 --- src/common/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/container.c') diff --git a/src/common/container.c b/src/common/container.c index 94f7f84df5..7795e514be 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -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) \ -- cgit v1.2.3-54-g00ecf