Procházet zdrojové kódy

Ooh, that could have been bad. Sort digests as digests, not strings.

svn:r6679
Nick Mathewson před 19 roky
rodič
revize
06ffee3b67
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/common/container.c

+ 1 - 1
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)      \