[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Ooh, that could have been bad. Sort digests as digests, not...
Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv3785/src/common
Modified Files:
container.c
Log Message:
Ooh, that could have been bad. Sort digests as digests, not strings.
Index: container.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/container.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -p -d -r1.60 -r1.61
--- container.c 21 Jun 2006 04:57:12 -0000 1.60
+++ container.c 22 Jun 2006 07:29:14 -0000 1.61
@@ -472,7 +472,7 @@ _compare_digests(const void **_a, const
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) \