aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-22 07:29:14 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-22 07:29:14 +0000
commit06ffee3b67ff629d9580c0143f0c7b3c13be8d9e (patch)
tree0dac987dccf6eb86f1e8a6f89c047935ba61d20a /src/common
parent52b8dfa95a540b28685cf39d4d2487e1e128b4e6 (diff)
downloadtor-06ffee3b67ff629d9580c0143f0c7b3c13be8d9e.tar
tor-06ffee3b67ff629d9580c0143f0c7b3c13be8d9e.tar.gz
Ooh, that could have been bad. Sort digests as digests, not strings.
svn:r6679
Diffstat (limited to 'src/common')
-rw-r--r--src/common/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c
index 94f7f84df..7795e514b 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) \