aboutsummaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-11 16:27:27 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-11 16:27:27 -0400
commit0cbcbc3412b667537b6ec54da0a4c9173a19d6de (patch)
tree6cf0e59b26854a49be2326d49f57189a48e31b60 /src/common/container.c
parent9964c314c6c6af4b921875c973f28f8d01b2e9a2 (diff)
downloadtor-0cbcbc3412b667537b6ec54da0a4c9173a19d6de.tar
tor-0cbcbc3412b667537b6ec54da0a4c9173a19d6de.tar.gz
Re-apply the automated conversion to 0.2.2 to make handle any memcmps that snuck in
Diffstat (limited to 'src/common/container.c')
-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 5476c6008..09d4bb131 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -824,7 +824,7 @@ smartlist_uniq_digests(smartlist_t *sl)
static int
_compare_digests256(const void **_a, const void **_b)
{
- return memcmp((const char*)*_a, (const char*)*_b, DIGEST256_LEN);
+ return tor_memcmp((const char*)*_a, (const char*)*_b, DIGEST256_LEN);
}
/** Sort the list of DIGEST256_LEN-byte digests into ascending order. */